mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 18:41:29 +00:00
add96eb9f8
Authored by: seproDev Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com> Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
18 lines
743 B
Python
18 lines
743 B
Python
from .common import InfoExtractor
|
||
|
||
|
||
class SibnetEmbedIE(InfoExtractor):
|
||
# Ref: https://help.sibnet.ru/?sibnet_video_embed
|
||
_VALID_URL = False
|
||
_EMBED_REGEX = [r'<iframe\b[^>]+\bsrc=(["\'])(?P<url>(?:https?:)?//video\.sibnet\.ru/shell\.php\?.*?\bvideoid=\d+.*?)\1']
|
||
_WEBPAGE_TESTS = [{
|
||
'url': 'https://phpbb3.x-tk.ru/bbcode-video-sibnet-t24.html',
|
||
'info_dict': {
|
||
'id': 'shell', # FIXME: Non unique ID?
|
||
'ext': 'mp4',
|
||
'age_limit': 0,
|
||
'thumbnail': 'https://video.sibnet.ru/upload/cover/video_1887072_0.jpg',
|
||
'title': 'КВН Москва не сразу строилась - Девушка впервые играет в Mortal Kombat',
|
||
},
|
||
}]
|