- fixed redtube test case md5,upload date and duration
This commit is contained in:
parent
befa4708fd
commit
6a398a6dc7
@ -16,13 +16,13 @@ class RedTubeIE(InfoExtractor):
|
|||||||
_VALID_URL = r'https?://(?:(?:www\.)?redtube\.com/|embed\.redtube\.com/\?.*?\bid=)(?P<id>[0-9]+)'
|
_VALID_URL = r'https?://(?:(?:www\.)?redtube\.com/|embed\.redtube\.com/\?.*?\bid=)(?P<id>[0-9]+)'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'http://www.redtube.com/66418',
|
'url': 'http://www.redtube.com/66418',
|
||||||
'md5': '7b8c22b5e7098a3e1c09709df1126d2d',
|
'md5': 'fc08071233725f26b8f014dba9590005',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '66418',
|
'id': '66418',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'Sucked on a toilet',
|
'title': 'Sucked on a toilet',
|
||||||
'upload_date': '20120831',
|
'upload_date': '20110811',
|
||||||
'duration': 596,
|
'duration': None,
|
||||||
'view_count': int,
|
'view_count': int,
|
||||||
'age_limit': 18,
|
'age_limit': 18,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user