youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 22b7ac13ef4e34654bcb3fb3dbb40d2fac9b4278
parent 96f88e91b7bac15b3a6f1eafb6a66964d2d11a7c
Author: Remita Amine <remitamine@gmail.com>
Date:   Thu, 23 Jun 2016 00:13:52 +0100

[tf1] fix wat id extraction(closes #9862)

Diffstat:
Myoutube_dl/extractor/tf1.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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')