mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 01:02:13 +01:00
parent
12a64f2777
commit
700ccbe3f1
1 changed files with 1 additions and 1 deletions
|
@ -1033,7 +1033,7 @@ def _parse_json(self, json_string, video_id, transform_source=None, fatal=True):
|
|||
if transform_source:
|
||||
json_string = transform_source(json_string)
|
||||
try:
|
||||
return json.loads(json_string)
|
||||
return json.loads(json_string, strict=False)
|
||||
except ValueError as ve:
|
||||
errmsg = '%s: Failed to parse JSON ' % video_id
|
||||
if fatal:
|
||||
|
|
Loading…
Reference in a new issue