mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-01-10 18:09:34 +00:00
[ie/viu] Fix _VALID_URL
in ViuOTTIE
This commit is contained in:
parent
acaf806c15
commit
74dc1bf198
|
@ -151,7 +151,7 @@ def _real_extract(self, url):
|
|||
class ViuOTTIE(InfoExtractor):
|
||||
IE_NAME = 'viu:ott'
|
||||
_NETRC_MACHINE = 'viu'
|
||||
_VALID_URL = r'https?://(?:www\.)?viu\.com/ott/(?P<country_code>[a-z]{2})/(?P<lang_code>[a-z]{2}-[a-z]{2})/vod/(?P<id>\d+)'
|
||||
_VALID_URL = r'https?://(?:www\.)?viu\.com/ott/(?P<country_code>[a-z]{2})/(?P<lang_code>[a-z]{2}(?:-[a-z]{2})?)/vod/(?P<id>\d+)'
|
||||
_TESTS = [{
|
||||
'url': 'http://www.viu.com/ott/sg/en-us/vod/3421/The%20Prime%20Minister%20and%20I',
|
||||
'info_dict': {
|
||||
|
|
Loading…
Reference in a new issue