Merge pull request #12854 from Tithen-Firion/appletrailer-test-fix
authorYen Chi Hsuan <yan12125@gmail.com>
Sat, 29 Apr 2017 11:24:38 +0000 (19:24 +0800)
committerGitHub <noreply@github.com>
Sat, 29 Apr 2017 11:24:38 +0000 (19:24 +0800)
[appletrailers] update test cases

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': {