mirror of https://github.com/yt-dlp/yt-dlp.git
[videomore] Set IE_NAME
This commit is contained in:
parent
453fe2a345
commit
69759a5990
|
@ -13,6 +13,7 @@ from ..utils import (
|
||||||
|
|
||||||
|
|
||||||
class VideomoreIE(InfoExtractor):
|
class VideomoreIE(InfoExtractor):
|
||||||
|
IE_NAME = 'videomore'
|
||||||
_VALID_URL = r'videomore:(?P<sid>\d+)$|https?://videomore\.ru/(?:(?:embed|[^/]+/[^/]+)/|[^/]+\?.*\btrack_id=)(?P<id>\d+)(?:[/?#&]|\.(?:xml|json)|$)'
|
_VALID_URL = r'videomore:(?P<sid>\d+)$|https?://videomore\.ru/(?:(?:embed|[^/]+/[^/]+)/|[^/]+\?.*\btrack_id=)(?P<id>\d+)(?:[/?#&]|\.(?:xml|json)|$)'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'http://videomore.ru/kino_v_detalayah/5_sezon/367617',
|
'url': 'http://videomore.ru/kino_v_detalayah/5_sezon/367617',
|
||||||
|
|
Loading…
Reference in New Issue