aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2017-04-29 19:24:38 +0800
committerGitHub <noreply@github.com>2017-04-29 19:24:38 +0800
commita1ebfd449486ae5c4e8c38a38e6d5142ce4740e6 (patch)
treea0d523d579dcbc8bd65e2f4253de3dc2239b2872 /youtube_dl
parentd19093bd50a0123b7d00c263b012d6d391814970 (diff)
parent76c19510368d61acd3e1315d93ac6f16dbeb2c65 (diff)
Merge pull request #12854 from Tithen-Firion/appletrailer-test-fix
[appletrailers] update test cases
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/appletrailers.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/youtube_dl/extractor/appletrailers.py b/youtube_dl/extractor/appletrailers.py
index a6801f3d4..b45b431e1 100644
--- a/youtube_dl/extractor/appletrailers.py
+++ b/youtube_dl/extractor/appletrailers.py
@@ -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': {