X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fxhamster.py;h=9d025530fb9f1fcb14a4cc139c4c67c88c157668;hb=354b4b8604ec13ccf4bd89b9d1b77cb7246fe379;hp=b4ad513a0d18ecbae558deceb6234efaa5ce5415;hpb=8a5601e42f6974e6694f01089b4c7e014b6a1b7a;p=youtube-dl.git diff --git a/youtube_dl/extractor/xhamster.py b/youtube_dl/extractor/xhamster.py index b4ad513a0..9d025530f 100644 --- a/youtube_dl/extractor/xhamster.py +++ b/youtube_dl/extractor/xhamster.py @@ -47,7 +47,7 @@ class XHamsterIE(InfoExtractor): def _real_extract(self, url): def extract_video_url(webpage): - mp4 = re.search(r'', webpage) + mp4 = re.search(r'file:\s+\'([^\']+)\'', webpage) if mp4 is None: raise ExtractorError('Unable to extract media URL') else: