Question: yt-dlp does anyone know how to increase retries for SponsorBlock? [Solved]

Solution: Thanks for finding the solution, kate (in the comments). The option to control this is –extractor-retries .


I recently start using SponsorBlock feature with yt-dlp . When it looks up SponsorBlock server, it tries 3 times to connect and download information. I would like to increase the retries for this specifically, but could not find the right setting or option in the manual (man yt-dlp) and help (yt-dlp --help). I would like to increase it to at least 5 or maybe even 10 retries per video.

I’ve noticed for sometimes it cannot login within the first 3 look ups, but when I retry the command after that it will just look up fine. Therefore an increase in the retries setting would be helpful. Especially helpful when downloading entire playlists, leaving it for some time alone.

kate,

is it the –extractor-retries option

thingsiplay,

Just tried and that’s it! I tried a few options before, not sure if I overlooked this or misunderstood. But setting –extractor-retries 2 for testing does indeed only try 2 times. Thank you.

adamnejm,
@adamnejm@programming.dev avatar

Working on your yt-dlp wrapper I see, nice. Keep up the good work!

thingsiplay,

Thank you for the encouraging words. :-)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • foss@beehaw.org
  • fightinggames
  • All magazines