projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
838f051
)
[telecinco] Fix extraction (refs #24195)
author
Sergey M․
<dstftw@gmail.com>
Sat, 29 Feb 2020 18:04:51 +0000
(
01:04
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 29 Feb 2020 18:04:51 +0000
(
01:04
+0700)
youtube_dl/extractor/telecinco.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/telecinco.py
b/youtube_dl/extractor/telecinco.py
index d37e1b0557cf3ba241a25e7e56d28c8dc679b1d0..d79ab1e82cd79194cbf88fe3ff0ca401084a4cec 100644
(file)
--- 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'))