about summary refs log tree commit diff
path: root/youtube_dl/extractor/tf1.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-02-29 03:28:21 +0600
committerSergey M․ <dstftw@gmail.com>2016-02-29 03:28:21 +0600
commit4b3cd7316cbb95100f7fc4dd03d86e0fd7674996 (patch)
tree8e2c4ccdcb276a1c9861bc6db065246dcd37fa04 /youtube_dl/extractor/tf1.py
parent6dae56384a3a50f832b647f798a4b4bbd770448f (diff)
downloadyoutube-dl-4b3cd7316cbb95100f7fc4dd03d86e0fd7674996.tar.gz
youtube-dl-4b3cd7316cbb95100f7fc4dd03d86e0fd7674996.tar.xz
youtube-dl-4b3cd7316cbb95100f7fc4dd03d86e0fd7674996.zip
[tf1] Improve wat id regex (Closes #8691)
Diffstat (limited to 'youtube_dl/extractor/tf1.py')
-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 e1a64e284..9ee844684 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')