diff options
author | Sergey M. <dstftw@gmail.com> | 2015-08-05 20:21:19 +0600 |
---|---|---|
committer | Sergey M. <dstftw@gmail.com> | 2015-08-05 20:21:19 +0600 |
commit | defce603852e99655a6351bb73c62b88711a9c9e (patch) | |
tree | c9388a683ec29ca89ea9946cc6acaa573e4babb4 | |
parent | 5b7dab2dd640c93ec0f63ca8b901e701679a4c7b (diff) | |
parent | 354b4b8604ec13ccf4bd89b9d1b77cb7246fe379 (diff) |
Merge pull request #6467 from vijayanandnandam/master
fixing xhamster file extraction
-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: |