yt-dlp: [twitter] Intermittent "Failed to parse JSON" errors

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

Region

SA

Provide a description that is worded well enough to be understood

I have updates yt-dlp to the last version When i try to download a twitter video i found this error (it is the first time i encounter it) What is the issue ?

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

ERROR: [twitter] 1873063443525501019: 1873063443525501019: Failed to parse JSON (caused by JSONDecodeError("Expecting value in '': line 1 column 1 (char 0)")); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 21 (8 by maintainers)

Most upvoted comments

Seems it will trigger when you continues download video from twitter (X) in short period of time. My current solution is just wait for server ban “timeout”.