aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/fktv.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/fktv.py')
-rw-r--r--youtube_dl/extractor/fktv.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/fktv.py b/youtube_dl/extractor/fktv.py
index 0c14834f9..d9fc9952d 100644
--- a/youtube_dl/extractor/fktv.py
+++ b/youtube_dl/extractor/fktv.py
@@ -33,7 +33,8 @@ class FKTVIE(InfoExtractor):
title = clean_html(self._html_search_regex(
'<h3>([^<]+)</h3>', webpage, 'title'))
matches = re.search(
- r'(?s)<video[^>]+(?:poster="([^"]+)")?[^>]*>(.*)</video>', webpage)
+ r'(?s)<video(?:(?!poster)[^>])+(?:poster="([^"]+)")?[^>]*>(.*)</video>',
+ webpage)
if matches is None:
raise ExtractorError('Unable to extract the video')