mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-03 17:10:51 +01:00
[sztvhu] Fix the title extraction
This commit is contained in:
parent
e772692ffd
commit
9d74e308f7
|
@ -25,7 +25,7 @@ class SztvHuIE(InfoExtractor):
|
|||
video_file = self._search_regex(
|
||||
r'file: "...:(.*?)",', webpage, 'video file')
|
||||
title = self._html_search_regex(
|
||||
r'<meta name="title" content="([^"]*) - [^-]*"',
|
||||
r'<meta name="title" content="([^"]*?) - [^-]*? - [^-]*?"',
|
||||
webpage, 'video title')
|
||||
description = self._html_search_regex(
|
||||
r'<meta name="description" content="([^"]*)"/>',
|
||||
|
|
Loading…
Reference in New Issue
Block a user