mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 03:33:02 +00:00
[extractor/WASDTV:record] Fix _VALID_URL
This commit is contained in:
parent
1f6b90ed8d
commit
22b22b7d5c
1 changed files with 4 additions and 1 deletions
|
@ -95,7 +95,7 @@ def _get_media_url(self, media_meta):
|
||||||
|
|
||||||
class WASDTVRecordIE(WASDTVBaseIE):
|
class WASDTVRecordIE(WASDTVBaseIE):
|
||||||
IE_NAME = 'wasdtv:record'
|
IE_NAME = 'wasdtv:record'
|
||||||
_VALID_URL = r'https?://wasd\.tv/[^/#?]+/videos\?record=(?P<id>\d+)$'
|
_VALID_URL = r'https?://wasd\.tv/[^/#?]+(?:/videos)?\?record=(?P<id>\d+)$'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://wasd.tv/spacemita/videos?record=907755',
|
'url': 'https://wasd.tv/spacemita/videos?record=907755',
|
||||||
'md5': 'c9899dd85be4cc997816ff9f9ca516ce',
|
'md5': 'c9899dd85be4cc997816ff9f9ca516ce',
|
||||||
|
@ -110,6 +110,9 @@ class WASDTVRecordIE(WASDTVBaseIE):
|
||||||
'is_live': False,
|
'is_live': False,
|
||||||
'view_count': int,
|
'view_count': int,
|
||||||
},
|
},
|
||||||
|
}, {
|
||||||
|
'url': 'https://wasd.tv/spacemita?record=907755',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _get_container(self, url):
|
def _get_container(self, url):
|
||||||
|
|
Loading…
Reference in a new issue