1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 10:42:34 +01:00

[xhamster] support xhamster.porncache.net domains (closes #700)

This commit is contained in:
Mike Fährmann 2020-04-22 18:31:05 +02:00
parent e749402191
commit 12eebb6f16
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -13,7 +13,8 @@ from .. import text
import json
BASE_PATTERN = r"(?:https?://)?((?:[^.]+\.)?xhamster\d?\.(?:com|one|desi))"
BASE_PATTERN = (r"(?:https?://)?((?:[^.]+\.)?xhamster"
r"(?:\d?\.(?:com|one|desi)|\.porncache\.net))")
class XhamsterExtractor(Extractor):
@ -79,6 +80,7 @@ class XhamsterGalleryExtractor(XhamsterExtractor):
("https://xhamster.desi/photos/gallery/11748968"),
("https://xhamster2.com/photos/gallery/11748968"),
("https://en.xhamster.com/photos/gallery/11748968"),
("https://xhamster.porncache.net/photos/gallery/11748968"),
)
def __init__(self, match):