1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 18:53:21 +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:
Mike Fährmann 2018-09-07 18:25:09 +02:00
parent b4eca2633e
commit 488abeca0b
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -16,6 +16,7 @@ import re
class HentaicafeChapterExtractor(foolslide.FoolslideChapterExtractor):
"""Extractor for manga-chapters from hentai.cafe"""
category = "hentaicafe"
directory_fmt = ["{category}", "{manga}"]
pattern = foolslide.chapter_pattern(r"(?:www\.)?hentai\.cafe/manga")
test = [("https://hentai.cafe/manga/read/saitom-box/en/0/1/", {
"url": "8c6a8c56875ba3ed7ab0a74a64f9960077767fc2",