1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-24 04:30:43 +01:00

[extractor/uktv] Improve _VALID_URL

Closes #4707
Authored by: dirkf
This commit is contained in:
pukkandan 2022-08-20 05:00:45 +05:30
parent 1704c47ba8
commit 0a6b4b82e9
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

View File

@ -2,7 +2,7 @@ from .common import InfoExtractor
class UKTVPlayIE(InfoExtractor):
_VALID_URL = r'https?://uktvplay\.uktv\.co\.uk/(?:.+?\?.*?\bvideo=|([^/]+/)*watch-online/)(?P<id>\d+)'
_VALID_URL = r'https?://uktvplay\.(?:uktv\.)?co\.uk/(?:.+?\?.*?\bvideo=|([^/]+/)*watch-online/)(?P<id>\d+)'
_TESTS = [{
'url': 'https://uktvplay.uktv.co.uk/shows/world-at-war/c/200/watch-online/?video=2117008346001',
'info_dict': {