Browse Source

Merge pull request #6467 from vijayanandnandam/master

fixing xhamster file extraction
totalwebcasting
Sergey M. 9 years ago
parent
commit
defce60385
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/xhamster.py

+ 1
- 1
youtube_dl/extractor/xhamster.py View File

@ -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:


Loading…
Cancel
Save