mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-09-08 09:35:01 +00:00
Make download test pass
This commit is contained in:
parent
4d4aefdb9c
commit
af80da38ba
|
@ -25,7 +25,7 @@ class RedTubeIE(InfoExtractor):
|
||||||
_EMBED_REGEX = [r'<iframe[^>]+?src=["\'](?P<url>(?:https?:)?//embed\.redtube\.com/\?.*?\bid=\d+)']
|
_EMBED_REGEX = [r'<iframe[^>]+?src=["\'](?P<url>(?:https?:)?//embed\.redtube\.com/\?.*?\bid=\d+)']
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://www.redtube.com/38864951',
|
'url': 'https://www.redtube.com/38864951',
|
||||||
'md5': '4fba70cbca3aefd25767ab4b523c9878',
|
'md5': 'd7de9cb32e8adb3f6379f1a30f655fae',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '38864951',
|
'id': '38864951',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
|
@ -38,6 +38,11 @@ class RedTubeIE(InfoExtractor):
|
||||||
'age_limit': 18,
|
'age_limit': 18,
|
||||||
'thumbnail': r're:https://\wi-ph\.rdtcdn\.com/videos/.+/.+\.jpg',
|
'thumbnail': r're:https://\wi-ph\.rdtcdn\.com/videos/.+/.+\.jpg',
|
||||||
},
|
},
|
||||||
|
'expected_warnings': [
|
||||||
|
'Failed to download m3u8 information: HTTP Error 404',
|
||||||
|
],
|
||||||
|
'params': {
|
||||||
|
'format': '[format_id !^= hls]',
|
||||||
}, {
|
}, {
|
||||||
'url': 'http://embed.redtube.com/?bgcolor=000000&id=1443286',
|
'url': 'http://embed.redtube.com/?bgcolor=000000&id=1443286',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
|
Loading…
Reference in a new issue