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

thingsiplay@beehaw.org to Free and Open Source Software@beehaw.org – 28 points –

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.

4

You are viewing a single comment

is it the --extractor-retries option which defaults to 3 attemps

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.

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