Browse Source

[redtube] Fix test

totalwebcasting
Sergey M․ 10 years ago
parent
commit
838b93405b
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      youtube_dl/extractor/redtube.py

+ 3
- 2
youtube_dl/extractor/redtube.py View File

@ -8,11 +8,12 @@ class RedTubeIE(InfoExtractor):
_VALID_URL = r'http://(?:www\.)?redtube\.com/(?P<id>[0-9]+)' _VALID_URL = r'http://(?:www\.)?redtube\.com/(?P<id>[0-9]+)'
_TEST = { _TEST = {
'url': 'http://www.redtube.com/66418', 'url': 'http://www.redtube.com/66418',
'md5': '7b8c22b5e7098a3e1c09709df1126d2d',
'info_dict': { 'info_dict': {
'id': '66418', 'id': '66418',
'ext': 'mp4', 'ext': 'mp4',
"title": "Sucked on a toilet",
"age_limit": 18,
'title': 'Sucked on a toilet',
'age_limit': 18,
} }
} }


Loading…
Cancel
Save