aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/iltalehti.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/iltalehti.py')
-rw-r--r--yt_dlp/extractor/iltalehti.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/iltalehti.py b/yt_dlp/extractor/iltalehti.py
index a40307aed..0e7e82c9c 100644
--- a/yt_dlp/extractor/iltalehti.py
+++ b/yt_dlp/extractor/iltalehti.py
@@ -41,7 +41,7 @@ class IltalehtiIE(InfoExtractor):
article_id = self._match_id(url)
webpage = self._download_webpage(url, article_id)
info = self._search_json(
- r'<script>\s*window.App\s*=\s*', webpage, 'json', article_id,
+ r'<script>\s*window.App\s*=', webpage, 'json', article_id,
transform_source=js_to_json)
props = traverse_obj(info, (
'state', 'articles', ..., 'items', (('main_media', 'properties'), ('body', ..., 'properties'))))