aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authordirkf <[email protected]>2022-08-19 19:11:08 +0100
committerdirkf <[email protected]>2022-08-19 19:11:08 +0100
commitfd3f3bebd0699f4b782a24a503093c965c4f4f5e (patch)
tree8c8ae3c24db9ab1426e7f4720f30076ca86ffff7
parent46b8ae2f520c17aaa756082676788c6287b6809e (diff)
downloadyoutube-dl-fd3f3bebd0699f4b782a24a503093c965c4f4f5e.tar.gz
youtube-dl-fd3f3bebd0699f4b782a24a503093c965c4f4f5e.zip
[uktvplay] Support domain without .uktv
-rw-r--r--youtube_dl/extractor/uktvplay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/uktvplay.py b/youtube_dl/extractor/uktvplay.py
index f28fd514d..9ef9638cd 100644
--- a/youtube_dl/extractor/uktvplay.py
+++ b/youtube_dl/extractor/uktvplay.py
@@ -5,7 +5,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': {