From: Sergey M․ Date: Sat, 29 Feb 2020 18:04:51 +0000 (+0700) Subject: [telecinco] Fix extraction (refs #24195) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=f8cbd8c96367871db974621d5a92b324acb57938;p=youtube-dl [telecinco] Fix extraction (refs #24195) --- diff --git a/youtube_dl/extractor/telecinco.py b/youtube_dl/extractor/telecinco.py index d37e1b055..d79ab1e82 100644 --- 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'))