Skip to content

Commit

Permalink
[xhamster] add support for new domain xhvid.com (ytdl-org#31370)
Browse files Browse the repository at this point in the history
  • Loading branch information
afterdelight authored Feb 2, 2023
1 parent bc6f94e commit f316f5d
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 @@ -24,7 +24,7 @@


class XHamsterIE(InfoExtractor):
_DOMAINS = r'(?:xhamster\.(?:com|one|desi)|xhms\.pro|xhamster\d+\.com|xhday\.com)'
_DOMAINS = r'(?:xhamster\.(?:com|one|desi)|xhms\.pro|xhamster\d+\.com|xhday\.com|xhvid\.com)'
_VALID_URL = r'''(?x)
https?://
(?:.+?\.)?%s/
Expand Down Expand Up @@ -123,6 +123,9 @@ class XHamsterIE(InfoExtractor):
}, {
'url': 'https://xhday.com/videos/strapless-threesome-xhh7yVf',
'only_matching': True,
}, {
'url': 'https://xhvid.com/videos/lk-mm-xhc6wn6',
'only_matching': True,
}]

def _real_extract(self, url):
Expand Down Expand Up @@ -433,6 +436,9 @@ class XHamsterUserIE(InfoExtractor):
}, {
'url': 'https://xhday.com/users/mobhunter',
'only_matching': True,
}, {
'url': 'https://xhvid.com/users/pelushe21',
'only_matching': True,
}]

def _entries(self, user_id):
Expand Down

0 comments on commit f316f5d

Please sign in to comment.