Remove forcejson option

As far as I can tell, this option only caused a lot of JSON output to be logged.
This commit is contained in:
tcely 2024-12-20 08:18:40 -05:00 committed by GitHub
parent 52865cb5b4
commit 477753b88d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,7 +49,6 @@ def get_channel_image_info(url):
opts = get_yt_opts()
opts.update({
'skip_download': True,
'forcejson': True,
'simulate': True,
'logger': log,
'extract_flat': True, # Change to False to get detailed info
@ -84,7 +83,6 @@ def get_media_info(url):
opts = get_yt_opts()
opts.update({
'skip_download': True,
'forcejson': True,
'simulate': True,
'logger': log,
'extract_flat': True,