1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-06-09 23:23:33 +08:00

[generic] Expand jwplayer support

This commit is contained in:
Sergey M․
2015-08-05 21:19:52 +06:00
Unverified
parent 3e48522477
commit 54a9328b20
+1 -1
View File
@@ -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)