mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-13 11:45:29 +00:00
precision
This commit is contained in:
@@ -1794,7 +1794,7 @@ class InfoExtractor:
|
||||
if not isinstance(data, dict):
|
||||
return
|
||||
children = data.pop('children', None)
|
||||
if data and name and name[0] == '$':
|
||||
if data and isinstance(name, str) and name[:1] == '$':
|
||||
# It is useful hydration JSON data
|
||||
nextjs_data.append(data)
|
||||
flatten(children)
|
||||
|
||||
Reference in New Issue
Block a user