1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-03-29 17:46:33 +00:00

remove trailing spaces

This commit is contained in:
HobbyistDev 2024-02-21 18:41:12 +08:00
parent 7b9f56ade5
commit c7a528c198

View file

@ -295,7 +295,7 @@ class ViuOTTIE(InfoExtractor):
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')