From bd1d1b7a4b91031461849748cf86387fa86aec7a Mon Sep 17 00:00:00 2001 From: Aleksander Nitecki Date: Sun, 6 Aug 2017 19:27:22 +0200 Subject: [PATCH] [niconico] Update fallback video title regex: Actually this code path now is like a triple fallback and may not be reached by anyone ever again, nevertheless... --- youtube_dl/extractor/niconico.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/niconico.py b/youtube_dl/extractor/niconico.py index 026329d3e..3536c0cb7 100644 --- a/youtube_dl/extractor/niconico.py +++ b/youtube_dl/extractor/niconico.py @@ -340,7 +340,7 @@ class NiconicoIE(InfoExtractor): title = self._og_search_title(webpage, default=None) if not title: title = self._html_search_regex( - r']+class="videoHeaderTitle"[^>]*>([^<]+)', + r']+class="txt-title"[^>]*>([^<]+)', webpage, 'video title') watch_api_data_string = self._html_search_regex(