Browse Source

[generic] Expand jwplayer support

master
Sergey M․ 9 years ago
parent
commit
54a9328b20
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/generic.py

2
youtube_dl/extractor/generic.py

@ -1655,7 +1655,7 @@ class GenericIE(InfoExtractor):
if not found: if not found:
# Broaden the findall a little bit: JWPlayer JS loader # Broaden the findall a little bit: JWPlayer JS loader
found = filter_video(re.findall( 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: if not found:
# Flow player # Flow player
found = filter_video(re.findall(r'''(?xs) found = filter_video(re.findall(r'''(?xs)

Loading…
Cancel
Save