projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
286e5d6
)
[tv4] relax _VALID_URL(closes #27964)
author
Remita Amine
<remitamine@gmail.com>
Mon, 25 Jan 2021 14:15:45 +0000
(15:15 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Mon, 25 Jan 2021 14:15:45 +0000
(15:15 +0100)
youtube_dl/extractor/tv4.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/tv4.py
b/youtube_dl/extractor/tv4.py
index c498b0191623220071d38764f04d3ba1fc114558..b73bab9a8be9f495a4cf7a8a1041f714639d9587 100644
(file)
--- a/
youtube_dl/extractor/tv4.py
+++ b/
youtube_dl/extractor/tv4.py
@@
-17,7
+17,7
@@
class TV4IE(InfoExtractor):
tv4\.se/(?:[^/]+)/klipp/(?:.*)-|
tv4play\.se/
(?:
- (?:program|barn)/(?:
[^/]+/
|(?:[^\?]+)\?video_id=)|
+ (?:program|barn)/(?:
(?:[^/]+/){1,2}
|(?:[^\?]+)\?video_id=)|
iframe/video/|
film/|
sport/|
@@
-65,6
+65,10
@@
class TV4IE(InfoExtractor):
{
'url': 'http://www.tv4play.se/program/farang/3922081',
'only_matching': True,
+ },
+ {
+ 'url': 'https://www.tv4play.se/program/nyheterna/avsnitt/13315940',
+ 'only_matching': True,
}
]