diff options
author | vijayanand nandam <vijay@cybrilla.com> | 2015-08-05 19:37:59 +0530 |
---|---|---|
committer | vijayanand nandam <vijay@cybrilla.com> | 2015-08-05 19:37:59 +0530 |
commit | 354b4b8604ec13ccf4bd89b9d1b77cb7246fe379 (patch) | |
tree | d1fedacc1c478e775019f17075dd1c8c41da0bef /youtube_dl/extractor | |
parent | 8a5601e42f6974e6694f01089b4c7e014b6a1b7a (diff) |
fixing xhamster file extraction
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/xhamster.py | 2 |
1 files changed, 1 insertions, 1 deletions
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'<video\s+.*?file="([^"]+)".*?>', webpage) + mp4 = re.search(r'file:\s+\'([^\']+)\'', webpage) if mp4 is None: raise ExtractorError('Unable to extract media URL') else: |