[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

View File

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