1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00

[urlgalleries] fix 'root' and update 'request_interval'

This commit is contained in:
Mike Fährmann 2024-11-10 20:28:55 +01:00
parent 73d6e56a8f
commit c61c0461a9
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -13,8 +13,8 @@ from .. import text, exception
class UrlgalleriesGalleryExtractor(GalleryExtractor): class UrlgalleriesGalleryExtractor(GalleryExtractor):
"""Base class for Urlgalleries extractors""" """Base class for Urlgalleries extractors"""
category = "urlgalleries" category = "urlgalleries"
root = "urlgalleries.net" root = "https://urlgalleries.net"
request_interval = (0.5, 1.0) request_interval = (0.5, 1.5)
pattern = r"(?:https?://)(?:(\w+)\.)?urlgalleries\.net/(?:[\w-]+-)?(\d+)" pattern = r"(?:https?://)(?:(\w+)\.)?urlgalleries\.net/(?:[\w-]+-)?(\d+)"
example = "https://BLOG.urlgalleries.net/gallery-12345/TITLE" example = "https://BLOG.urlgalleries.net/gallery-12345/TITLE"