diff --git a/yt_dlp/extractor/tvw.py b/yt_dlp/extractor/tvw.py index 0d9c22852..c2e3235d5 100644 --- a/yt_dlp/extractor/tvw.py +++ b/yt_dlp/extractor/tvw.py @@ -58,7 +58,7 @@ def _get_description(self, response): def _get_js_code(self, video_id, webpage): app_js_url = self._html_search_regex( - r']+src=[\"\'](?P.+?)[\"\'][^>]* id=\"invintus-app-js\">[^>]*', + r']+src=[\"\'](?P.+?)[\"\'][^>]+id=\"invintus-app-js\"', webpage, 'app_js') return self._download_webpage(app_js_url, video_id, 'Downloading app.js API key')