mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-13 14:37:43 +01:00
[xhamster] Add support for xhamster.one (closes #20508)
This commit is contained in:
parent
4014a48622
commit
b43c5f474a
@ -20,7 +20,7 @@
|
|||||||
class XHamsterIE(InfoExtractor):
|
class XHamsterIE(InfoExtractor):
|
||||||
_VALID_URL = r'''(?x)
|
_VALID_URL = r'''(?x)
|
||||||
https?://
|
https?://
|
||||||
(?:.+?\.)?xhamster\.com/
|
(?:.+?\.)?xhamster\.(?:com|one)/
|
||||||
(?:
|
(?:
|
||||||
movies/(?P<id>\d+)/(?P<display_id>[^/]*)\.html|
|
movies/(?P<id>\d+)/(?P<display_id>[^/]*)\.html|
|
||||||
videos/(?P<display_id_2>[^/]*)-(?P<id_2>\d+)
|
videos/(?P<display_id_2>[^/]*)-(?P<id_2>\d+)
|
||||||
@ -91,6 +91,9 @@ class XHamsterIE(InfoExtractor):
|
|||||||
# new URL schema
|
# new URL schema
|
||||||
'url': 'https://pt.xhamster.com/videos/euro-pedal-pumping-7937821',
|
'url': 'https://pt.xhamster.com/videos/euro-pedal-pumping-7937821',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': 'https://xhamster.one/videos/femaleagent-shy-beauty-takes-the-bait-1509445',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
Loading…
Reference in New Issue
Block a user