From: Sergey M․ Date: Wed, 5 Aug 2015 15:19:52 +0000 (+0600) Subject: [generic] Expand jwplayer support X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=54a9328b205e8a2c916d59fd81bdb1ede25cf87a;p=youtube-dl [generic] Expand jwplayer support --- diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 8cef61c3c..6df89f814 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -1655,7 +1655,7 @@ class GenericIE(InfoExtractor): if not found: # Broaden the findall a little bit: JWPlayer JS loader found = filter_video(re.findall( - r'[^A-Za-z0-9]?file["\']?:\s*["\'](http(?![^\'"]+\.[0-9]+[\'"])[^\'"]+)["\']', webpage)) + r'[^A-Za-z0-9]?(?:file|video_url)["\']?:\s*["\'](http(?![^\'"]+\.[0-9]+[\'"])[^\'"]+)["\']', webpage)) if not found: # Flow player found = filter_video(re.findall(r'''(?xs)