mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-01 00:52:58 +01:00
[kaltura] Extend _VALID_URL (Closes #5081)
This commit is contained in:
parent
4ffbf77886
commit
bd3749ed69
@ -14,7 +14,7 @@
|
|||||||
class KalturaIE(InfoExtractor):
|
class KalturaIE(InfoExtractor):
|
||||||
_VALID_URL = r'''(?x)
|
_VALID_URL = r'''(?x)
|
||||||
(?:kaltura:|
|
(?:kaltura:|
|
||||||
https?://(:?www\.)?kaltura\.com/index\.php/kwidget/(?:[^/]+/)*?wid/_
|
https?://(:?(?:www|cdnapisec)\.)?kaltura\.com/index\.php/kwidget/(?:[^/]+/)*?wid/_
|
||||||
)(?P<partner_id>\d+)
|
)(?P<partner_id>\d+)
|
||||||
(?::|
|
(?::|
|
||||||
/(?:[^/]+/)*?entry_id/
|
/(?:[^/]+/)*?entry_id/
|
||||||
@ -39,6 +39,10 @@ class KalturaIE(InfoExtractor):
|
|||||||
'url': 'http://www.kaltura.com/index.php/kwidget/cache_st/1300318621/wid/_269692/uiconf_id/3873291/entry_id/1_1jc2y3e4',
|
'url': 'http://www.kaltura.com/index.php/kwidget/cache_st/1300318621/wid/_269692/uiconf_id/3873291/entry_id/1_1jc2y3e4',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'url': 'https://cdnapisec.kaltura.com/index.php/kwidget/wid/_557781/uiconf_id/22845202/entry_id/1_plr1syf3',
|
||||||
|
'only_matching': True,
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
def _kaltura_api_call(self, video_id, actions, *args, **kwargs):
|
def _kaltura_api_call(self, video_id, actions, *args, **kwargs):
|
||||||
|
Loading…
Reference in New Issue
Block a user