mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-28 01:18:30 +00:00
cleanup
Authored by: bashonly
This commit is contained in:
parent
593e3ec151
commit
35009f5902
@ -1818,8 +1818,7 @@ def _resolve_nuxt_array(self, array, video_id, *, fatal=True, default=NO_DEFAULT
|
|||||||
if isinstance(element, list) and element and isinstance(element[0], str):
|
if isinstance(element, list) and element and isinstance(element[0], str):
|
||||||
if element[0] in ('ShallowReactive', 'Reactive', 'ShallowRef', 'Ref'):
|
if element[0] in ('ShallowReactive', 'Reactive', 'ShallowRef', 'Ref'):
|
||||||
stack.append((target, index, element[1]))
|
stack.append((target, index, element[1]))
|
||||||
continue
|
elif element[0] == 'Map':
|
||||||
if element[0] == 'Map':
|
|
||||||
target[index] = {}
|
target[index] = {}
|
||||||
elif element[0] == 'Set':
|
elif element[0] == 'Set':
|
||||||
target[index] = []
|
target[index] = []
|
||||||
|
Loading…
Reference in New Issue
Block a user