[extractor/WASDTV:record] Fix _VALID_URL

This commit is contained in:
pukkandan 2022-08-07 20:40:36 +05:30
parent 1f6b90ed8d
commit 22b22b7d5c
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39

View file

@ -95,7 +95,7 @@ def _get_media_url(self, media_meta):
class WASDTVRecordIE(WASDTVBaseIE):
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 = [{
'url': 'https://wasd.tv/spacemita/videos?record=907755',
'md5': 'c9899dd85be4cc997816ff9f9ca516ce',
@ -110,6 +110,9 @@ class WASDTVRecordIE(WASDTVBaseIE):
'is_live': False,
'view_count': int,
},
}, {
'url': 'https://wasd.tv/spacemita?record=907755',
'only_matching': True,
}]
def _get_container(self, url):