mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-23 03:02:50 +01:00
[hentaicafe] adjust default directory format
A separate folder for each chapter is rather pointless if almost all manga have only one chapter each.
This commit is contained in:
parent
b4eca2633e
commit
488abeca0b
@ -16,6 +16,7 @@ import re
|
|||||||
class HentaicafeChapterExtractor(foolslide.FoolslideChapterExtractor):
|
class HentaicafeChapterExtractor(foolslide.FoolslideChapterExtractor):
|
||||||
"""Extractor for manga-chapters from hentai.cafe"""
|
"""Extractor for manga-chapters from hentai.cafe"""
|
||||||
category = "hentaicafe"
|
category = "hentaicafe"
|
||||||
|
directory_fmt = ["{category}", "{manga}"]
|
||||||
pattern = foolslide.chapter_pattern(r"(?:www\.)?hentai\.cafe/manga")
|
pattern = foolslide.chapter_pattern(r"(?:www\.)?hentai\.cafe/manga")
|
||||||
test = [("https://hentai.cafe/manga/read/saitom-box/en/0/1/", {
|
test = [("https://hentai.cafe/manga/read/saitom-box/en/0/1/", {
|
||||||
"url": "8c6a8c56875ba3ed7ab0a74a64f9960077767fc2",
|
"url": "8c6a8c56875ba3ed7ab0a74a64f9960077767fc2",
|
||||||
|
Loading…
Reference in New Issue
Block a user