mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-05 09:47:27 -05:00
parent
12a64f2777
commit
700ccbe3f1
@ -1033,7 +1033,7 @@ class InfoExtractor(object):
|
|||||||
if transform_source:
|
if transform_source:
|
||||||
json_string = transform_source(json_string)
|
json_string = transform_source(json_string)
|
||||||
try:
|
try:
|
||||||
return json.loads(json_string)
|
return json.loads(json_string, strict=False)
|
||||||
except ValueError as ve:
|
except ValueError as ve:
|
||||||
errmsg = '%s: Failed to parse JSON ' % video_id
|
errmsg = '%s: Failed to parse JSON ' % video_id
|
||||||
if fatal:
|
if fatal:
|
||||||
|
Loading…
Reference in New Issue
Block a user