diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-08-20 05:00:45 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-08-20 05:00:45 +0530 |
commit | 0a6b4b82e926ffd583a5cbe81d25bbfc7f1f43ed (patch) | |
tree | 1e17977757406b753291ea914f4b3f03370ea1c9 | |
parent | 1704c47ba81dfa6de1b57c1c639863aad37390eb (diff) | |
download | hypervideo-pre-0a6b4b82e926ffd583a5cbe81d25bbfc7f1f43ed.tar.lz hypervideo-pre-0a6b4b82e926ffd583a5cbe81d25bbfc7f1f43ed.tar.xz hypervideo-pre-0a6b4b82e926ffd583a5cbe81d25bbfc7f1f43ed.zip |
[extractor/uktv] Improve _VALID_URL
Closes #4707
Authored by: dirkf
-rw-r--r-- | yt_dlp/extractor/uktvplay.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/uktvplay.py b/yt_dlp/extractor/uktvplay.py index abea07ab5..819ac5a35 100644 --- a/yt_dlp/extractor/uktvplay.py +++ b/yt_dlp/extractor/uktvplay.py @@ -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': { |