forked from minhngoc25a/youtube-dl
Switch ComedyCentral test to a permanent URL (They delete full episodes older than a month)
This commit is contained in:
parent
3b024e17af
commit
233a22960a
|
@ -98,7 +98,7 @@ def generator(test_case):
|
||||||
|
|
||||||
for tc in test_cases:
|
for tc in test_cases:
|
||||||
if not test_case.get('params', {}).get('skip_download', False):
|
if not test_case.get('params', {}).get('skip_download', False):
|
||||||
self.assertTrue(os.path.exists(tc['file']))
|
self.assertTrue(os.path.exists(tc['file']), msg='Missing file ' + tc['file'])
|
||||||
self.assertTrue(tc['file'] in finished_hook_called)
|
self.assertTrue(tc['file'] in finished_hook_called)
|
||||||
self.assertTrue(os.path.exists(tc['file'] + '.info.json'))
|
self.assertTrue(os.path.exists(tc['file'] + '.info.json'))
|
||||||
if 'md5' in tc:
|
if 'md5' in tc:
|
||||||
|
|
|
@ -181,37 +181,12 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "ComedyCentral",
|
"name": "ComedyCentral",
|
||||||
"url": "http://www.thedailyshow.com/full-episodes/thu-december-13-2012-kristen-stewart",
|
"url": "http://www.thedailyshow.com/watch/thu-december-13-2012/kristen-stewart",
|
||||||
"playlist": [
|
"file": "422212.mp4",
|
||||||
{
|
"md5": "4e2f5cb088a83cd8cdb7756132f9739d",
|
||||||
"file": "422204.mp4",
|
"info_dict": {
|
||||||
"md5": "7a7abe068b31ff03e7b8a37596e72380",
|
"title": "thedailyshow-kristen-stewart part 1"
|
||||||
"info_dict": {
|
}
|
||||||
"title": "thedailyshow-thu-december-13-2012-kristen-stewart part 1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"file": "422205.mp4",
|
|
||||||
"md5": "30552b7274c94dbb933f64600eadddd2",
|
|
||||||
"info_dict": {
|
|
||||||
"title": "thedailyshow-thu-december-13-2012-kristen-stewart part 2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"file": "422206.mp4",
|
|
||||||
"md5": "1f4c0664b352cb8e8fe85d5da4fbee91",
|
|
||||||
"info_dict": {
|
|
||||||
"title": "thedailyshow-thu-december-13-2012-kristen-stewart part 3"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"file": "422207.mp4",
|
|
||||||
"md5": "f61ee8a4e6bd1308438e03badad78554",
|
|
||||||
"info_dict": {
|
|
||||||
"title": "thedailyshow-thu-december-13-2012-kristen-stewart part 4"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "RBMARadio",
|
"name": "RBMARadio",
|
||||||
|
|
Loading…
Reference in New Issue