1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-03 03:13:11 +08:00
This commit is contained in:
mr-sketchy 2017-09-24 11:18:29 -07:00
commit cf3e9c4dc2
2 changed files with 2 additions and 1 deletions

View File

@ -230,3 +230,4 @@ Ashutosh Chaudhary
John Dong
Tatsuyuki Ishi
Daniel Weber
Kay Bouché

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: