1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-23 00:54:31 +01:00

[vimple] Replace tests

The first one seems to be no longer available and the second was an episode from a tv show.
This commit is contained in:
Jaime Marquínez Ferrándiz 2015-01-05 11:46:40 +01:00
parent adf3c58ad3
commit a4c3f48639

View File

@ -14,28 +14,17 @@ class VimpleIE(InfoExtractor):
IE_DESC = 'Vimple.ru' IE_DESC = 'Vimple.ru'
_VALID_URL = r'https?://(player.vimple.ru/iframe|vimple.ru)/(?P<id>[a-f0-9]{10,})' _VALID_URL = r'https?://(player.vimple.ru/iframe|vimple.ru)/(?P<id>[a-f0-9]{10,})'
_TESTS = [ _TESTS = [
# Quality: Large, from iframe
{ {
'url': 'http://player.vimple.ru/iframe/b132bdfd71b546d3972f9ab9a25f201c', 'url': 'http://vimple.ru/c0f6b1687dcd4000a97ebe70068039cf',
'md5': '2e750a330ed211d3fd41821c6ad9a279',
'info_dict': { 'info_dict': {
'id': 'b132bdfd71b546d3972f9ab9a25f201c', 'id': 'c0f6b1687dcd4000a97ebe70068039cf',
'title': 'great-escape-minecraft.flv',
'ext': 'mp4', 'ext': 'mp4',
'duration': 352, 'title': 'Sunset',
'webpage_url': 'http://vimple.ru/b132bdfd71b546d3972f9ab9a25f201c', 'duration': 20,
'thumbnail': 're:https?://.*?\.jpg',
}, },
}, },
# Quality: Medium, from mainpage
{
'url': 'http://vimple.ru/a15950562888453b8e6f9572dc8600cd',
'info_dict': {
'id': 'a15950562888453b8e6f9572dc8600cd',
'title': 'DB 01',
'ext': 'flv',
'duration': 1484,
'webpage_url': 'http://vimple.ru/a15950562888453b8e6f9572dc8600cd',
}
},
] ]
def _real_extract(self, url): def _real_extract(self, url):