From 9dcf080549cedb20cc479e9c5f862f2e894f2598 Mon Sep 17 00:00:00 2001 From: HobbyistDev Date: Mon, 26 Feb 2024 20:19:46 +0800 Subject: [PATCH] update comment --- yt_dlp/extractor/viu.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/yt_dlp/extractor/viu.py b/yt_dlp/extractor/viu.py index 9962e9f956..d7b0107625 100644 --- a/yt_dlp/extractor/viu.py +++ b/yt_dlp/extractor/viu.py @@ -295,9 +295,8 @@ def _real_extract(self, url): next_js_data = self._search_nextjs_data(webpage, video_id)['props'] runtime_info = next_js_data['initialState']['app']['runtimeInfo'] - # Weird thing happen if i insert technilacally geo-blocked content like - # like https://www.viu.com/ott/sg/en/vod/108599/The-Beauty-Inside in ID region, - # it still download. Maybe API not affected by geo-block? + # NOTE: some geo-blocked like https://www.viu.com/ott/sg/en/vod/108599/The-Beauty-Inside actually can bypassed + # on other region (like in ID) product_detail_json = traverse_obj( next_js_data, ('pageProps', 'fallback', lambda k, v: v if re.match(r'@"PRODUCT_DETAIL"[^:]+', k) else None), get_all=False)