1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-26 04:32:51 +01:00

[webtoons] make archive_fmt unique (#779)

close #778
This commit is contained in:
Leonardo Taccari 2020-05-25 21:23:54 +02:00 committed by GitHub
parent 34929f673f
commit bcac31b7c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ class WebtoonsEpisodeExtractor(WebtoonsExtractor):
subcategory = "episode"
directory_fmt = ("{category}", "{comic}")
filename_fmt = "{episode}-{num:>02}.{extension}"
archive_fmt = "{episode}_{num}"
archive_fmt = "{title_no}_{episode}_{num}"
pattern = (BASE_PATTERN + r"/([^/?&#]+)/([^/?&#]+)/(?:[^/?&#]+))"
r"/viewer(?:\?([^#]+))")
test = (