]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[appletrailers] update test cases
authorTithen-Firion <tithen.firion.0@gmail.com>
Thu, 27 Apr 2017 08:04:21 +0000 (10:04 +0200)
committerTithen-Firion <tithen.firion.0@gmail.com>
Thu, 27 Apr 2017 08:04:21 +0000 (10:04 +0200)
youtube_dl/extractor/appletrailers.py

index a6801f3d4860414c286277c92bd994e16212cffd..b45b431e19c1526eb9578e9cbf6a13a97939b2a8 100644 (file)
@@ -70,7 +70,8 @@ class AppleTrailersIE(InfoExtractor):
     }, {
         'url': 'http://trailers.apple.com/trailers/magnolia/blackthorn/',
         'info_dict': {
-            'id': 'blackthorn',
+            'id': '4489',
+            'title': 'Blackthorn',
         },
         'playlist_mincount': 2,
         'expected_warnings': ['Unable to download JSON metadata'],
@@ -261,7 +262,7 @@ class AppleTrailersSectionIE(InfoExtractor):
             'title': 'Most Popular',
             'id': 'mostpopular',
         },
-        'playlist_mincount': 80,
+        'playlist_mincount': 30,
     }, {
         'url': 'http://trailers.apple.com/#section=moviestudios',
         'info_dict': {