mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-05 11:01:11 +00:00
[fktv] Fix a regex
This commit is contained in:
parent
711762f0b7
commit
8de28761c4
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user