[ie/theatercomplextown] Fix extractors (#9754)

Authored by: bashonly
This commit is contained in:
bashonly
2024-04-21 11:05:42 -05:00
committed by GitHub
parent 3ee1194288
commit 8056a3026e
2 changed files with 9 additions and 3 deletions

View File

@@ -147,7 +147,7 @@ class WrestleUniverseBaseIE(InfoExtractor):
metadata = self._call_api(video_id, msg='metadata', query={'al': lang or 'ja'}, auth=False, fatal=False)
if not metadata:
webpage = self._download_webpage(url, video_id)
nextjs_data = self._search_nextjs_data(webpage, video_id)
nextjs_data = self._search_nextjs_data(webpage, video_id, fatal=False)
metadata = traverse_obj(nextjs_data, (
'props', 'pageProps', *variadic(props_keys, (str, bytes, dict, set)), {dict})) or {}
return metadata