Skip to content

Commit

Permalink
[xhamster] Extend _VALID_URL (closes ytdl-org#25927)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw committed Aug 12, 2020
1 parent a7e3485 commit 10709fc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion youtube_dl/extractor/xhamster.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


class XHamsterIE(InfoExtractor):
_DOMAINS = r'(?:xhamster\.(?:com|one|desi)|xhms\.pro|xhamster[27]\.com)'
_DOMAINS = r'(?:xhamster\.(?:com|one|desi)|xhms\.pro|xhamster\d+\.com)'
_VALID_URL = r'''(?x)
https?://
(?:.+?\.)?%s/
Expand Down Expand Up @@ -99,6 +99,12 @@ class XHamsterIE(InfoExtractor):
}, {
'url': 'https://xhamster2.com/videos/femaleagent-shy-beauty-takes-the-bait-1509445',
'only_matching': True,
}, {
'url': 'https://xhamster11.com/videos/femaleagent-shy-beauty-takes-the-bait-1509445',
'only_matching': True,
}, {
'url': 'https://xhamster26.com/videos/femaleagent-shy-beauty-takes-the-bait-1509445',
'only_matching': True,
}, {
'url': 'http://xhamster.com/movies/1509445/femaleagent_shy_beauty_takes_the_bait.html',
'only_matching': True,
Expand Down

0 comments on commit 10709fc

Please sign in to comment.