From c7a528c198a46b19fadef3641dd3b9f0dc11f396 Mon Sep 17 00:00:00 2001 From: HobbyistDev Date: Wed, 21 Feb 2024 18:41:12 +0800 Subject: [PATCH] remove trailing spaces --- yt_dlp/extractor/viu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/viu.py b/yt_dlp/extractor/viu.py index ea75a9362..a65843cf6 100644 --- a/yt_dlp/extractor/viu.py +++ b/yt_dlp/extractor/viu.py @@ -295,7 +295,7 @@ def _real_extract(self, url): runtime_info = next_js_data['initialState']['app']['runtimeInfo'] product_detail_json = traverse_obj( - next_js_data, ('pageProps', 'fallback', lambda k, v: v if re.match(r'@"PRODUCT_DETAIL"[^:]+', k) else None), + next_js_data, ('pageProps', 'fallback', lambda k, v: v if re.match(r'@"PRODUCT_DETAIL"[^:]+', k) else None), get_all=False) current_product_info = traverse_obj(product_detail_json, ('data', 'current_product')) current_product_subtitle_info = current_product_info.get('subtitle')