1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 18:34:32 +01:00

[tube8] Update test and modernize

This commit is contained in:
Sergey M․ 2014-06-11 18:20:14 +07:00
parent 3141feb73b
commit fdb9aebead

View File

@ -17,9 +17,10 @@ class Tube8IE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?tube8\.com/(?:[^/]+/){2}(?P<id>\d+)' _VALID_URL = r'https?://(?:www\.)?tube8\.com/(?:[^/]+/){2}(?P<id>\d+)'
_TEST = { _TEST = {
'url': 'http://www.tube8.com/teen/kasia-music-video/229795/', 'url': 'http://www.tube8.com/teen/kasia-music-video/229795/',
'file': '229795.mp4', 'md5': '44bf12b98313827dd52d35b8706a4ea0',
'md5': 'e9e0b0c86734e5e3766e653509475db0',
'info_dict': { 'info_dict': {
'id': '229795',
'ext': 'mp4',
'description': 'hot teen Kasia grinding', 'description': 'hot teen Kasia grinding',
'uploader': 'unknown', 'uploader': 'unknown',
'title': 'Kasia music video', 'title': 'Kasia music video',