mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-13 06:09:58 +08:00
[vtm] Reorganise tests
Make all tests that require authentication except the first `only_matching`. Add a test for a video that does not require authentication.
This commit is contained in:
parent
4c163143c3
commit
9cd898a8d5
@ -34,33 +34,23 @@ class VTMIE(InfoExtractor):
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
'url': 'http://vtm.be/video/volledige-afleveringen/id/257107153551000',
|
'url': 'http://vtm.be/video/volledige-afleveringen/id/257107153551000',
|
||||||
'info_dict': {
|
'only_matching': True,
|
||||||
'id': '257107153551000',
|
|
||||||
'ext': 'mp4',
|
|
||||||
'title': 'Blind Getrouwd afl.6',
|
|
||||||
'description': 'md5:9ed26e8486ad0c1ddade4b066d83100f',
|
|
||||||
},
|
|
||||||
'skip_download': True,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'url': 'http://vtm.be/video?aid=163157',
|
'url': 'http://vtm.be/video?aid=163157',
|
||||||
'info_dict': {
|
'only_matching': True,
|
||||||
'id': '257068686507000',
|
|
||||||
'ext': 'mp4',
|
|
||||||
'title': 'Amigo\'s afl.8',
|
|
||||||
'description': 'md5:1db8963594a1829839dabd55ef4f6a0b',
|
|
||||||
},
|
|
||||||
'skip_download': True,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'url': 'http://www.q2.be/video/volledige-afleveringen/id/2be_20170301_VM0684442_q2',
|
'url': 'http://www.q2.be/video/volledige-afleveringen/id/2be_20170301_VM0684442_q2',
|
||||||
|
'only_matching': True,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'url': 'http://vtm.be/video?aid=168332',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '2be_20170301_VM0684442_q2',
|
'id': 'video?aid=168332',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'Modern Family afl. 15',
|
'title': 'Videozone',
|
||||||
'description': 'md5:9866dd440480ee5ad5195382dd33d068',
|
|
||||||
},
|
},
|
||||||
'skip_download': True,
|
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user