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:
parent
e749402191
commit
12eebb6f16
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user