this post was submitted on 02 Jun 2024
28 points (100.0% liked)

Free and Open Source Software

17932 readers
100 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

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.

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 12 points 5 months ago* (last edited 5 months ago) (1 children)

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

[–] [email protected] 5 points 5 months ago (1 children)

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.

[–] [email protected] 4 points 5 months ago (1 children)

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

[–] [email protected] 2 points 5 months ago

Thank you for the encouraging words. :-)