From d0e9650461952cd6d1cae8bc49c0a8f556b44d0b Mon Sep 17 00:00:00 2001 From: Andrzej Godziuk Date: Mon, 22 Jul 2019 19:18:32 +0200 Subject: [PATCH] Make the title extraction regex more specific --- youtube_dl/extractor/tvn24.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/tvn24.py b/youtube_dl/extractor/tvn24.py index 24dd202cd..7aa681e0c 100644 --- a/youtube_dl/extractor/tvn24.py +++ b/youtube_dl/extractor/tvn24.py @@ -40,7 +40,7 @@ class TVN24IE(InfoExtractor): webpage = self._download_webpage(url, video_id) title = self._html_search_regex( - r']+class="standardHeader1[^"]*"[^>]*>\s*(.+?)\s*', + r']+class="standardHeader1 headerPadding header-span headerMargin"[^>]*>\s*(.+?)\s*', webpage, 'title') def extract_json(attr, name, fatal=True):