mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-24 17:51:13 +00:00
parent
5f8ea7e0d8
commit
385ffb467b
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
class WistiaBaseIE(InfoExtractor):
|
||||
_VALID_ID_REGEX = r'(?P<id>[a-z0-9]{10})'
|
||||
_VALID_URL_BASE = r'https?://(?:fast\.)?wistia\.(?:net|com)/embed/'
|
||||
_VALID_URL_BASE = r'https?://(?:\w+\.)?wistia\.(?:net|com)/(?:embed/)?'
|
||||
_EMBED_BASE_URL = 'http://fast.wistia.com/embed/'
|
||||
|
||||
def _download_embed_config(self, config_type, config_id, referer):
|
||||
|
@ -173,7 +173,7 @@ def _real_extract(self, url):
|
|||
|
||||
|
||||
class WistiaPlaylistIE(WistiaBaseIE):
|
||||
_VALID_URL = r'%splaylists/%s' % (WistiaIE._VALID_URL_BASE, WistiaIE._VALID_ID_REGEX)
|
||||
_VALID_URL = r'%splaylists/%s' % (WistiaBaseIE._VALID_URL_BASE, WistiaBaseIE._VALID_ID_REGEX)
|
||||
|
||||
_TEST = {
|
||||
'url': 'https://fast.wistia.net/embed/playlists/aodt9etokc',
|
||||
|
|
Loading…
Reference in a new issue