logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: f8cbd8c96367871db974621d5a92b324acb57938
parent 838f051c4b9a0c974da32e79c011bbf85fa186fe
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sun,  1 Mar 2020 01:04:51 +0700

[telecinco] Fix extraction (refs #24195)

Diffstat:

Myoutube_dl/extractor/telecinco.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/telecinco.py b/youtube_dl/extractor/telecinco.py @@ -135,7 +135,7 @@ class TelecincoIE(InfoExtractor): display_id = self._match_id(url) webpage = self._download_webpage(url, display_id) article = self._parse_json(self._search_regex( - r'window\.\$REACTBASE_STATE\.article\s*=\s*({.+})', + r'window\.\$REACTBASE_STATE\.article(?:_multisite)?\s*=\s*({.+})', webpage, 'article'), display_id)['article'] title = article.get('title') description = clean_html(article.get('leadParagraph'))