{kemonoparty[ change default 'files' order to attachments,file,inline

(#1991)
pull/2091/head
Mike Fährmann 3 years ago
parent 0054ad434e
commit f1b142e993
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -1353,7 +1353,7 @@ extractor.kemonoparty.files
Type
``list`` of ``strings``
Default
``["file", "attachments", "inline"]``
``["attachments", "file", "inline"]``
Description
Determines the type and order of files to be downloaded.

@ -129,7 +129,7 @@ class KemonopartyExtractor(Extractor):
def _build_file_generators(self, filetypes):
if filetypes is None:
return (self._file, self._attachments, self._inline)
return (self._attachments, self._file, self._inline)
genmap = {
"file" : self._file,
"attachments": self._attachments,

Loading…
Cancel
Save