projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96f88e9
)
[tf1] fix wat id extraction(closes #9862)
author
Remita Amine
<remitamine@gmail.com>
Wed, 22 Jun 2016 23:13:52 +0000
(
00:13
+0100)
committer
Remita Amine
<remitamine@gmail.com>
Wed, 22 Jun 2016 23:14:34 +0000
(
00:14
+0100)
youtube_dl/extractor/tf1.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/tf1.py
b/youtube_dl/extractor/tf1.py
index 6c848dc6fad39c72a474b3fd53fabb1079dfdd84..e595c4a69b3f03361abc05f6bca61adecb61cf36 100644
(file)
--- a/
youtube_dl/extractor/tf1.py
+++ b/
youtube_dl/extractor/tf1.py
@@
-48,6
+48,6
@@
class TF1IE(InfoExtractor):
video_id = self._match_id(url)
webpage = self._download_webpage(url, video_id)
wat_id = self._html_search_regex(
- r'(["\'])(?:https?:)?//www\.wat\.tv/embedframe/.*?(?P<id>\d{8})
.*?
\1',
+ r'(["\'])(?:https?:)?//www\.wat\.tv/embedframe/.*?(?P<id>\d{8})\1',
webpage, 'wat id', group='id')
return self.url_result('wat:%s' % wat_id, 'Wat')