fix smaller stuff

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

[skip ci]
pull/40/head
Mike Fährmann 7 years ago
parent 6f30cf4c64
commit 470bbe9d8c
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -16,7 +16,7 @@
{
"user":
{
"directory": ["{category}", "{artist-id}"]
"directory": ["{category}", "{user[id]}"]
},
"bookmark":
{

@ -102,7 +102,6 @@ def main():
log.debug("Version %s", __version__)
log.debug("Python %s - %s",
platform.python_version(), platform.platform())
print(file=sys.stderr)
if args.list_modules:
for module_name in extractor.modules:

@ -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+[^/]*)")]

Loading…
Cancel
Save