1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-06-01 19:00:05 +08:00
This commit is contained in:
mr-sketchy
2017-09-24 11:18:29 -07:00
Unverified
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -230,3 +230,4 @@ Ashutosh Chaudhary
John Dong
Tatsuyuki Ishi
Daniel Weber
Kay Bouché
+1 -1
View File
@@ -222,7 +222,7 @@ class XHamsterEmbedIE(InfoExtractor):
webpage = self._download_webpage(url, video_id)
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)
if not video_url: