mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 19:33:59 +01:00
Merge pull request #12854 from Tithen-Firion/appletrailer-test-fix
[appletrailers] update test cases
This commit is contained in:
commit
a1ebfd4494
|
@ -70,7 +70,8 @@ class AppleTrailersIE(InfoExtractor):
|
||||||
}, {
|
}, {
|
||||||
'url': 'http://trailers.apple.com/trailers/magnolia/blackthorn/',
|
'url': 'http://trailers.apple.com/trailers/magnolia/blackthorn/',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'blackthorn',
|
'id': '4489',
|
||||||
|
'title': 'Blackthorn',
|
||||||
},
|
},
|
||||||
'playlist_mincount': 2,
|
'playlist_mincount': 2,
|
||||||
'expected_warnings': ['Unable to download JSON metadata'],
|
'expected_warnings': ['Unable to download JSON metadata'],
|
||||||
|
@ -261,7 +262,7 @@ class AppleTrailersSectionIE(InfoExtractor):
|
||||||
'title': 'Most Popular',
|
'title': 'Most Popular',
|
||||||
'id': 'mostpopular',
|
'id': 'mostpopular',
|
||||||
},
|
},
|
||||||
'playlist_mincount': 80,
|
'playlist_mincount': 30,
|
||||||
}, {
|
}, {
|
||||||
'url': 'http://trailers.apple.com/#section=moviestudios',
|
'url': 'http://trailers.apple.com/#section=moviestudios',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user