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

(#1991)
This commit is contained in:
Mike Fährmann
2021-11-29 02:15:44 +01:00
parent 0054ad434e
commit f1b142e993
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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,