diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-10-28 10:41:24 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-10-28 10:41:24 +0100 |
commit | 48a24ab7465a41822a0fd40bba249520b3a85124 (patch) | |
tree | 74bb8664cd81fdb3164c204c8267a9c13542ba67 /youtube_dl/extractor/generic.py | |
parent | 68acdbda9d940da63a6e8c59e3292313cf07bdf5 (diff) |
[generic] Fix HTML5 video regexp
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r-- | youtube_dl/extractor/generic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 35a7664b2..47580328a 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -933,7 +933,7 @@ class GenericIE(InfoExtractor): found = filter_video(re.findall(r'<meta.*?property="og:video".*?content="(.*?)"', webpage)) if not found: # HTML5 video - found = re.findall(r'(?s)<video[^<]*(?:>.*?<source[^>]+)? src="([^"]+)"', webpage) + found = re.findall(r'(?s)<video[^<]*(?:>.*?<source[^>]*)?\s+src="([^"]+)"', webpage) if not found: found = re.search( r'(?i)<meta\s+(?=(?:[a-z-]+="[^"]+"\s+)*http-equiv="refresh")' |