mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-25 04:02:32 +01:00
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:
parent
6f30cf4c64
commit
470bbe9d8c
@ -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…
Reference in New Issue
Block a user