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:
@@ -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+[^/]*)")]
|
||||
|
||||
Reference in New Issue
Block a user