projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7c3e33
)
[tv4] Relax _VALID_URL (closes #14206)
author
Sergey M․
<dstftw@gmail.com>
Thu, 14 Sep 2017 16:50:19 +0000
(23:50 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 14 Sep 2017 16:50:19 +0000
(23:50 +0700)
youtube_dl/extractor/tv4.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/tv4.py
b/youtube_dl/extractor/tv4.py
index 7aeb2c6201513d49d2f2bf3b3f46e7c493fd6411..6487039e5e86b53db3150f290b05289bfa50dcd8 100644
(file)
--- a/
youtube_dl/extractor/tv4.py
+++ b/
youtube_dl/extractor/tv4.py
@@
-18,7
+18,7
@@
class TV4IE(InfoExtractor):
tv4\.se/(?:[^/]+)/klipp/(?:.*)-|
tv4play\.se/
(?:
- (?:program|barn)/(?:[^
\?]+)\?video_id=
|
+ (?:program|barn)/(?:[^
/]+/|(?:[^\?]+)\?video_id=)
|
iframe/video/|
film/|
sport/|
@@
-63,6
+63,10
@@
class TV4IE(InfoExtractor):
'url': 'http://www.tv4play.se/barn/looney-tunes?video_id=3062412',
'only_matching': True,
},
+ {
+ 'url': ' http://www.tv4play.se/program/farang/3922081',
+ 'only_matching': True,
+ }
]
def _real_extract(self, url):