mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-09 13:32:54 +08:00
Merge branch 'master' of https://github.com/rg3/youtube-dl
This commit is contained in:
commit
cf3e9c4dc2
1
AUTHORS
1
AUTHORS
@ -230,3 +230,4 @@ Ashutosh Chaudhary
|
|||||||
John Dong
|
John Dong
|
||||||
Tatsuyuki Ishi
|
Tatsuyuki Ishi
|
||||||
Daniel Weber
|
Daniel Weber
|
||||||
|
Kay Bouché
|
||||||
|
@ -222,7 +222,7 @@ class XHamsterEmbedIE(InfoExtractor):
|
|||||||
webpage = self._download_webpage(url, video_id)
|
webpage = self._download_webpage(url, video_id)
|
||||||
|
|
||||||
video_url = self._search_regex(
|
video_url = self._search_regex(
|
||||||
r'href="(https?://xhamster\.com/movies/%s/[^"]*\.html[^"]*)"' % video_id,
|
r'href="(https?://xhamster\.com/(?:movies/{0}/[^"]*\.html|videos/[^/]*-{0})[^"]*)"'.format(video_id),
|
||||||
webpage, 'xhamster url', default=None)
|
webpage, 'xhamster url', default=None)
|
||||||
|
|
||||||
if not video_url:
|
if not video_url:
|
||||||
|
Loading…
Reference in New Issue
Block a user