diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-02-29 03:28:21 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-02-29 03:28:21 +0600 |
commit | 4b3cd7316cbb95100f7fc4dd03d86e0fd7674996 (patch) | |
tree | 8e2c4ccdcb276a1c9861bc6db065246dcd37fa04 | |
parent | 6dae56384a3a50f832b647f798a4b4bbd770448f (diff) |
[tf1] Improve wat id regex (Closes #8691)
-rw-r--r-- | youtube_dl/extractor/tf1.py | 2 |
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') |