mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-24 00:52:55 +08:00
[iprima] Update 404ed URLs in tests, add testcases with the new URL scheme
This commit is contained in:
parent
1cfc55c9f0
commit
5028f750d4
@ -16,7 +16,7 @@ class IPrimaIE(InfoExtractor):
|
||||
_GEO_BYPASS = False
|
||||
|
||||
_TESTS = [{
|
||||
'url': 'http://play.iprima.cz/gondici-s-r-o-33',
|
||||
'url': 'http://play.iprima.cz/gondici-s-r-o/gondici-s-r-o-34',
|
||||
'info_dict': {
|
||||
'id': 'p136534',
|
||||
'ext': 'mp4',
|
||||
@ -31,8 +31,31 @@ class IPrimaIE(InfoExtractor):
|
||||
'only_matching': True,
|
||||
}, {
|
||||
# geo restricted
|
||||
'url': 'http://play.iprima.cz/closer-nove-pripady/closer-nove-pripady-iv-1',
|
||||
'url': 'http://play.iprima.cz/closer-nove-pripady/closer-nove-pripady/closer-nove-pripady-'
|
||||
'iv-1/closer-nove-pripady-iv-1-upoutavka',
|
||||
'only_matching': True,
|
||||
}, {
|
||||
'url': 'http://prima.iprima.cz/zpravodajstvi/10122017-0',
|
||||
'info_dict': {
|
||||
'id': 'p407787',
|
||||
'ext': 'mp4',
|
||||
'title': 'Zpravodajství FTV Prima, Zpravodajství FTV Prima 10.12.2017 | Prima',
|
||||
'description': 'md5:d3640eaccd3a66423c86f8942d79d5ce',
|
||||
},
|
||||
'params': {
|
||||
'skip_download': True, # m3u8 download
|
||||
},
|
||||
}, {
|
||||
'url': 'http://cool.iprima.cz/porady/tezka-drina/pila-0',
|
||||
'info_dict': {
|
||||
'id': 'p32629',
|
||||
'ext': 'mp4',
|
||||
'title': 'Těžká dřina, 5. epizoda - Pila | Prima Cool',
|
||||
'description': 'md5:ab9ad7b8af739fed79185c4e58bc599d',
|
||||
},
|
||||
'params': {
|
||||
'skip_download': True, # m3u8 download
|
||||
},
|
||||
}]
|
||||
|
||||
def _real_extract(self, url):
|
||||
|
Loading…
Reference in New Issue
Block a user