[patreon] yield images and attachments before postfiles (#871)

The reported filename of the 'postfile' entry of each post may differ
from the corresponding entry in the list of images or attachments,
and be outright "wrong".
This commit is contained in:
Mike Fährmann 2020-07-08 23:30:06 +02:00
parent dbf841ebd1
commit f1344fe552
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -41,9 +41,9 @@ class PatreonExtractor(Extractor):
yield Message.Metadata, post
for kind, url, name in itertools.chain(
self._postfile(post),
self._images(post),
self._attachments(post),
self._postfile(post),
self._content(post),
):
fhash = self._filehash(url)