0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-29 03:23:02 +00: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 @@
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': {