summaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorRemita Amine <[email protected]>2016-06-23 00:13:52 +0100
committerRemita Amine <[email protected]>2016-06-23 00:14:34 +0100
commit22b7ac13ef4e34654bcb3fb3dbb40d2fac9b4278 (patch)
treebee09f159579e4c0bd3df14259973adb115a4d18 /youtube_dl/extractor
parent96f88e91b7bac15b3a6f1eafb6a66964d2d11a7c (diff)
downloadyoutube-dl-22b7ac13ef4e34654bcb3fb3dbb40d2fac9b4278.tar.gz
youtube-dl-22b7ac13ef4e34654bcb3fb3dbb40d2fac9b4278.zip
[tf1] fix wat id extraction(closes #9862)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/tf1.py2
1 files changed, 1 insertions, 1 deletions
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<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')