mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-23 03:02:50 +01:00
[mangadex] respect 'chapter-reverse' settings (closes #1194)
The extractor in question doesn't inherit from MangaExtractor and therefore didn't do this automatically.
This commit is contained in:
parent
3bd08acc8f
commit
2c4d4a75db
@ -196,5 +196,8 @@ class MangadexMangaExtractor(MangadexExtractor):
|
||||
"_extractor": MangadexChapterExtractor,
|
||||
})
|
||||
|
||||
results.sort(key=lambda x: (x["chapter"], x["chapter_minor"]))
|
||||
results.sort(
|
||||
key=lambda x: (x["chapter"], x["chapter_minor"]),
|
||||
reverse=self.config("chapter-reverse", False),
|
||||
)
|
||||
return results
|
||||
|
Loading…
Reference in New Issue
Block a user