projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e48522
)
[generic] Expand jwplayer support
author
Sergey M․
<dstftw@gmail.com>
Wed, 5 Aug 2015 15:19:52 +0000
(21:19 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 5 Aug 2015 15:19:52 +0000
(21:19 +0600)
youtube_dl/extractor/generic.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/generic.py
b/youtube_dl/extractor/generic.py
index 8cef61c3c9a235a6d3f3230b8517222334dc0fbc..6df89f81403a34a5c12b3b37110e8258e3f4499d 100644
(file)
--- 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)