projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46b8ae2
)
[uktvplay] Support domain without .uktv
author
dirkf
<fieldhouse@gmx.net>
Fri, 19 Aug 2022 18:11:08 +0000
(19:11 +0100)
committer
dirkf
<fieldhouse@gmx.net>
Fri, 19 Aug 2022 18:11:08 +0000
(19:11 +0100)
youtube_dl/extractor/uktvplay.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/uktvplay.py
b/youtube_dl/extractor/uktvplay.py
index f28fd514db66217a99800657ae990829d240d71b..9ef9638cde98ac3079af4f8c60e49fab39b33970 100644
(file)
--- 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': {