From: Remita Amine Date: Wed, 22 Jun 2016 23:13:52 +0000 (+0100) Subject: [tf1] fix wat id extraction(closes #9862) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=22b7ac13ef4e34654bcb3fb3dbb40d2fac9b4278;p=youtube-dl [tf1] fix wat id extraction(closes #9862) --- diff --git a/youtube_dl/extractor/tf1.py b/youtube_dl/extractor/tf1.py index 6c848dc6f..e595c4a69 100644 --- 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\d{8}).*?\1', + r'(["\'])(?:https?:)?//www\.wat\.tv/embedframe/.*?(?P\d{8})\1', webpage, 'wat id', group='id') return self.url_result('wat:%s' % wat_id, 'Wat')