projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43b3842
)
Add test for JWPlayer where config is passed as variable
author
Random User
<rndusr@posteo.de>
Sat, 25 Mar 2017 18:37:45 +0000
(19:37 +0100)
committer
Random User
<rndusr@posteo.de>
Sat, 25 Mar 2017 18:37:45 +0000
(19:37 +0100)
youtube_dl/extractor/generic.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/generic.py
b/youtube_dl/extractor/generic.py
index 9868ca6d0b80397e6490315e8d4b3dab0b3c1bf2..c8c103ae36059b6b91548bb620c71c602df11c57 100644
(file)
--- a/
youtube_dl/extractor/generic.py
+++ b/
youtube_dl/extractor/generic.py
@@
-972,6
+972,20
@@
class GenericIE(InfoExtractor):
'thumbnail': r're:^https?://.*\.jpg$',
},
},
+ {
+ # JWPlayer config passed as variable
+ 'url': 'http://www.txxx.com/videos/3326530/ariele/',
+ 'info_dict': {
+ 'id': '3326530_hq',
+ 'ext': 'mp4',
+ 'title': 'ARIELE | Tube Cup',
+ 'uploader': 'www.txxx.com',
+ 'age_limit': 18,
+ },
+ 'params': {
+ 'skip_download': True,
+ }
+ },
# rtl.nl embed
{
'url': 'http://www.rtlnieuws.nl/nieuws/buitenland/aanslagen-kopenhagen',