fix smaller stuff

- change filename option in example config file
- adapt default filename format for mangafox
- remove unnecessary newline

[skip ci]
This commit is contained in:
Mike Fährmann
2017-09-10 22:48:08 +02:00
parent 6f30cf4c64
commit 470bbe9d8c
3 changed files with 2 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ class MangafoxChapterExtractor(AsynchronousExtractor):
category = "mangafox"
subcategory = "chapter"
directory_fmt = ["{category}", "{manga}", "c{chapter:>03}{chapter_minor}"]
filename_fmt = ("{manga}_c{chapter:>03}{chapter-minor}_"
filename_fmt = ("{manga}_c{chapter:>03}{chapter_minor}_"
"{page:>03}.{extension}")
pattern = [(r"(?:https?://)?(?:www\.)?(mangafox\.me/manga/"
r"[^/]+/(v\d+/)?c\d+[^/]*)")]