mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 08:34:32 +01:00
[generic] Update some _TESTS
This commit is contained in:
parent
1198fe14a1
commit
39efc6e3e0
@ -104,7 +104,8 @@ class GenericIE(InfoExtractor):
|
|||||||
},
|
},
|
||||||
'expected_warnings': [
|
'expected_warnings': [
|
||||||
'URL could be a direct video link, returning it as such.'
|
'URL could be a direct video link, returning it as such.'
|
||||||
]
|
],
|
||||||
|
'skip': 'URL invalid',
|
||||||
},
|
},
|
||||||
# Direct download with broken HEAD
|
# Direct download with broken HEAD
|
||||||
{
|
{
|
||||||
@ -268,7 +269,8 @@ class GenericIE(InfoExtractor):
|
|||||||
'params': {
|
'params': {
|
||||||
# m3u8 downloads
|
# m3u8 downloads
|
||||||
'skip_download': True,
|
'skip_download': True,
|
||||||
}
|
},
|
||||||
|
'skip': 'video gone',
|
||||||
},
|
},
|
||||||
# m3u8 served with Content-Type: text/plain
|
# m3u8 served with Content-Type: text/plain
|
||||||
{
|
{
|
||||||
@ -283,7 +285,8 @@ class GenericIE(InfoExtractor):
|
|||||||
'params': {
|
'params': {
|
||||||
# m3u8 downloads
|
# m3u8 downloads
|
||||||
'skip_download': True,
|
'skip_download': True,
|
||||||
}
|
},
|
||||||
|
'skip': 'video gone',
|
||||||
},
|
},
|
||||||
# google redirect
|
# google redirect
|
||||||
{
|
{
|
||||||
@ -368,6 +371,7 @@ class GenericIE(InfoExtractor):
|
|||||||
'description': 'Mississauga resident David Farmer is still out of power as a result of the ice storm a month ago. To keep the house warm, Farmer cuts wood from his property for a wood burning stove downstairs.',
|
'description': 'Mississauga resident David Farmer is still out of power as a result of the ice storm a month ago. To keep the house warm, Farmer cuts wood from his property for a wood burning stove downstairs.',
|
||||||
},
|
},
|
||||||
'add_ie': ['BrightcoveLegacy'],
|
'add_ie': ['BrightcoveLegacy'],
|
||||||
|
'skip': 'video gone',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'url': 'http://www.championat.com/video/football/v/87/87499.html',
|
'url': 'http://www.championat.com/video/football/v/87/87499.html',
|
||||||
@ -421,6 +425,7 @@ class GenericIE(InfoExtractor):
|
|||||||
'params': {
|
'params': {
|
||||||
'skip_download': True,
|
'skip_download': True,
|
||||||
},
|
},
|
||||||
|
'skip': 'movie expired',
|
||||||
},
|
},
|
||||||
# embed.ly video
|
# embed.ly video
|
||||||
{
|
{
|
||||||
@ -448,6 +453,8 @@ class GenericIE(InfoExtractor):
|
|||||||
'title': 'Between Two Ferns with Zach Galifianakis: President Barack Obama',
|
'title': 'Between Two Ferns with Zach Galifianakis: President Barack Obama',
|
||||||
'description': 'Episode 18: President Barack Obama sits down with Zach Galifianakis for his most memorable interview yet.',
|
'description': 'Episode 18: President Barack Obama sits down with Zach Galifianakis for his most memorable interview yet.',
|
||||||
},
|
},
|
||||||
|
# HEAD requests lead to endless 301, while GET is OK
|
||||||
|
'expected_warnings': ['301'],
|
||||||
},
|
},
|
||||||
# RUTV embed
|
# RUTV embed
|
||||||
{
|
{
|
||||||
@ -522,6 +529,9 @@ class GenericIE(InfoExtractor):
|
|||||||
'title': '[NSFL] [FM15] which pumiscer was this ( vid ) ( alfa as fuck srx )',
|
'title': '[NSFL] [FM15] which pumiscer was this ( vid ) ( alfa as fuck srx )',
|
||||||
},
|
},
|
||||||
'playlist_mincount': 7,
|
'playlist_mincount': 7,
|
||||||
|
# This forum does not allow <iframe> syntaxes anymore
|
||||||
|
# Now HTML tags are displayed as-is
|
||||||
|
'skip': 'No videos on this page',
|
||||||
},
|
},
|
||||||
# Embedded TED video
|
# Embedded TED video
|
||||||
{
|
{
|
||||||
@ -570,7 +580,8 @@ class GenericIE(InfoExtractor):
|
|||||||
},
|
},
|
||||||
'params': {
|
'params': {
|
||||||
'skip_download': 'Requires rtmpdump'
|
'skip_download': 'Requires rtmpdump'
|
||||||
}
|
},
|
||||||
|
'skip': 'video gone',
|
||||||
},
|
},
|
||||||
# francetv embed
|
# francetv embed
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user