[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:
parent
dbf841ebd1
commit
f1344fe552
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user