[xtube] Add support for embedded URLs (closes #14417)
This commit is contained in:
parent
cd6fc19ed7
commit
ac93c09ab2
1 changed files with 4 additions and 1 deletions
|
@ -18,7 +18,7 @@ class XTubeIE(InfoExtractor):
|
||||||
_VALID_URL = r'''(?x)
|
_VALID_URL = r'''(?x)
|
||||||
(?:
|
(?:
|
||||||
xtube:|
|
xtube:|
|
||||||
https?://(?:www\.)?xtube\.com/(?:watch\.php\?.*\bv=|video-watch/(?P<display_id>[^/]+)-)
|
https?://(?:www\.)?xtube\.com/(?:watch\.php\?.*\bv=|video-watch/(?:embedded/)?(?P<display_id>[^/]+)-)
|
||||||
)
|
)
|
||||||
(?P<id>[^/?&#]+)
|
(?P<id>[^/?&#]+)
|
||||||
'''
|
'''
|
||||||
|
@ -64,6 +64,9 @@ class XTubeIE(InfoExtractor):
|
||||||
}, {
|
}, {
|
||||||
'url': 'xtube:kVTUy_G222_',
|
'url': 'xtube:kVTUy_G222_',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': 'https://www.xtube.com/video-watch/embedded/milf-tara-and-teen-shared-and-cum-covered-extreme-bukkake-32203482?embedsize=big',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
|
Loading…
Reference in a new issue