From 53222445d5d1c0879a7ac301e0e5744674d11bed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Wed, 23 Dec 2020 01:03:08 +0100 Subject: [PATCH] [hentaicafe] simplify default filenames --- gallery_dl/extractor/hentaicafe.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gallery_dl/extractor/hentaicafe.py b/gallery_dl/extractor/hentaicafe.py index 9524f9a0..462d3e90 100644 --- a/gallery_dl/extractor/hentaicafe.py +++ b/gallery_dl/extractor/hentaicafe.py @@ -19,6 +19,7 @@ class HentaicafeChapterExtractor(foolslide.FoolslideChapterExtractor): """Extractor for manga-chapters from hentai.cafe""" category = "hentaicafe" directory_fmt = ("{category}", "{manga}") + filename_fmt = "c{chapter:>03}{chapter_minor:?//}_{page:>03}.{extension}" pattern = (r"(?:https?://)?(?:www\.)?hentai\.cafe" r"(/manga/read/[^/?#]+/[a-z-]+/\d+/\d+(?:/\d+)?)") test = ("https://hentai.cafe/manga/read/saitom-box/en/0/1/", {