Skip to content

Commit

Permalink
[telecinco] Fix extraction (refs #24195)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw committed Feb 29, 2020
1 parent 838f051 commit f8cbd8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/telecinco.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def _real_extract(self, url):
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'))
Expand Down

0 comments on commit f8cbd8c

Please sign in to comment.