]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
Extend various playlist tests
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 17 Feb 2015 23:49:10 +0000 (00:49 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 17 Feb 2015 23:49:10 +0000 (00:49 +0100)
youtube_dl/extractor/adultswim.py
youtube_dl/extractor/appletrailers.py
youtube_dl/extractor/dailymotion.py
youtube_dl/extractor/generic.py

index 502a9c25ad8fd6ab8fed0a46f2f52077f988aad9..34b8b01157bb930937f6f69c4950d8d01c39ed6e 100644 (file)
@@ -38,6 +38,7 @@ class AdultSwimIE(InfoExtractor):
             },
         ],
         'info_dict': {
+            'id': 'rQxZvXQ4ROaSOqq-or2Mow',
             'title': 'Rick and Morty - Pilot',
             'description': "Rick moves in with his daughter's family and establishes himself as a bad influence on his grandson, Morty. "
         }
@@ -55,6 +56,7 @@ class AdultSwimIE(InfoExtractor):
             }
         ],
         'info_dict': {
+            'id': '-t8CamQlQ2aYZ49ItZCFog',
             'title': 'American Dad - Putting Francine Out of Business',
             'description': 'Stan hatches a plan to get Francine out of the real estate business.Watch more American Dad on [adult swim].'
         },
index 287f71e076e91a44ea331c995410fbe8b40d178d..43e82847ff8eb472bdac0a91c2138220f001b3b6 100644 (file)
@@ -14,6 +14,9 @@ class AppleTrailersIE(InfoExtractor):
     _VALID_URL = r'https?://(?:www\.)?trailers\.apple\.com/trailers/(?P<company>[^/]+)/(?P<movie>[^/]+)'
     _TEST = {
         "url": "http://trailers.apple.com/trailers/wb/manofsteel/",
+        'info_dict': {
+            'id': 'manofsteel',
+        },
         "playlist": [
             {
                 "md5": "d97a8e575432dbcb81b7c3acb741f8a8",
index cf5841a7c6e92e115d7f685d8f7ce337a51cb92a..b2dbf4a927262a8e909f5d9963742126d795a0f9 100644 (file)
@@ -194,6 +194,7 @@ class DailymotionPlaylistIE(DailymotionBaseInfoExtractor):
         'url': 'http://www.dailymotion.com/playlist/xv4bw_nqtv_sport/1#video=xl8v3q',
         'info_dict': {
             'title': 'SPORT',
+            'id': 'xv4bw_nqtv_sport',
         },
         'playlist_mincount': 20,
     }]
index c4ba25a96db12470ceb6a201d5cf81b7dc064d4a..36a1f65bfd6e1e07e123d22bbf5b2c87ad0c10f3 100644 (file)
@@ -473,6 +473,7 @@ class GenericIE(InfoExtractor):
         {
             'url': 'http://discourse.ubuntu.com/t/unity-8-desktop-mode-windows-on-mir/1986',
             'info_dict': {
+                'id': '1986',
                 'title': 'Unity 8 desktop-mode windows on Mir! - Ubuntu Discourse',
             },
             'playlist_mincount': 2,