|
|
@ -2071,6 +2071,21 @@ class GenericIE(InfoExtractor):
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'playlist_count': 6,
|
|
|
|
'playlist_count': 6,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
# videojs embed
|
|
|
|
|
|
|
|
'url': 'https://video.sibnet.ru/shell.php?videoid=3422904',
|
|
|
|
|
|
|
|
'info_dict': {
|
|
|
|
|
|
|
|
'id': 'shell',
|
|
|
|
|
|
|
|
'ext': 'mp4',
|
|
|
|
|
|
|
|
'title': 'Доставщик пиццы спросил разрешения сыграть на фортепиано',
|
|
|
|
|
|
|
|
'description': 'md5:89209cdc587dab1e4a090453dbaa2cb1',
|
|
|
|
|
|
|
|
'thumbnail': r're:^https?://.*\.jpg$',
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
'params': {
|
|
|
|
|
|
|
|
'skip_download': True,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
'expected_warnings': ['Failed to download MPD manifest'],
|
|
|
|
|
|
|
|
},
|
|
|
|
# {
|
|
|
|
# {
|
|
|
|
# # TODO: find another test
|
|
|
|
# # TODO: find another test
|
|
|
|
# # http://schema.org/VideoObject
|
|
|
|
# # http://schema.org/VideoObject
|
|
|
@ -3152,8 +3167,8 @@ class GenericIE(InfoExtractor):
|
|
|
|
sources = [sources]
|
|
|
|
sources = [sources]
|
|
|
|
formats = []
|
|
|
|
formats = []
|
|
|
|
for source in sources:
|
|
|
|
for source in sources:
|
|
|
|
src = url_or_none(source.get('src'))
|
|
|
|
src = source.get('src')
|
|
|
|
if not src:
|
|
|
|
if not src or not isinstance(src, compat_str):
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
src = compat_urlparse.urljoin(url, src)
|
|
|
|
src = compat_urlparse.urljoin(url, src)
|
|
|
|
src_type = source.get('type')
|
|
|
|
src_type = source.get('type')
|
|
|
|