{kemonoparty[ change default 'files' order to attachments,file,inline
(#1991)
This commit is contained in:
@@ -1353,7 +1353,7 @@ extractor.kemonoparty.files
|
|||||||
Type
|
Type
|
||||||
``list`` of ``strings``
|
``list`` of ``strings``
|
||||||
Default
|
Default
|
||||||
``["file", "attachments", "inline"]``
|
``["attachments", "file", "inline"]``
|
||||||
Description
|
Description
|
||||||
Determines the type and order of files to be downloaded.
|
Determines the type and order of files to be downloaded.
|
||||||
|
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ class KemonopartyExtractor(Extractor):
|
|||||||
|
|
||||||
def _build_file_generators(self, filetypes):
|
def _build_file_generators(self, filetypes):
|
||||||
if filetypes is None:
|
if filetypes is None:
|
||||||
return (self._file, self._attachments, self._inline)
|
return (self._attachments, self._file, self._inline)
|
||||||
genmap = {
|
genmap = {
|
||||||
"file" : self._file,
|
"file" : self._file,
|
||||||
"attachments": self._attachments,
|
"attachments": self._attachments,
|
||||||
|
|||||||
Reference in New Issue
Block a user