]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/iltalehti.py
[cleanup] Misc (#5044)
[yt-dlp.git] / yt_dlp / extractor / iltalehti.py
index a40307aed46c5d2cd77445e0e76de1c07c6b9218..0e7e82c9c0c003fc2a76fd12e8b7ae2f4f358609 100644 (file)
@@ -41,7 +41,7 @@ def _real_extract(self, url):
         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'))))