[zzup] support 'w.zzup.com' URLs

- zzup.py support for w.zzup
- fix pattern
- update tests
This commit is contained in:
astringa1234
2025-04-08 14:39:58 +02:00
committed by Mike Fährmann
parent f7cd4367c6
commit 0ea80c0586
2 changed files with 16 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ class ZzupGalleryExtractor(GalleryExtractor):
filename_fmt = "{num:>03}.{extension}"
archive_fmt = "{slug}_{num}"
root = "https://zzup.com"
pattern = (r"(?:https?://)?(up\.|www\.)?zzup\.com(/(?:viewalbum|content)"
pattern = (r"(?:https?://)?(up\.|w+\.)?zzup\.com(/(?:viewalbum|content)"
r"/[\w=]+/([^/?#]+)/[\w=]+)/(?:index|page-\d+)\.html")
example = "https://zzup.com/content/xyz=/12345_TITLE/123=/index.html"