]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
Add test for JWPlayer where config is passed as variable
authorRandom User <rndusr@posteo.de>
Sat, 25 Mar 2017 18:37:45 +0000 (19:37 +0100)
committerRandom User <rndusr@posteo.de>
Sat, 25 Mar 2017 18:37:45 +0000 (19:37 +0100)
youtube_dl/extractor/generic.py

index 9868ca6d0b80397e6490315e8d4b3dab0b3c1bf2..c8c103ae36059b6b91548bb620c71c602df11c57 100644 (file)
@@ -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',