merge #7327: [zzup] support 'w.zzup.com' URLs

This commit is contained in:
Mike Fährmann
2025-04-08 17:04:54 +02:00
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"