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

Free and Open Source Software

17916 readers
94 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.

you are viewing a single comment's thread
view the rest of the comments
[–] kate@lemmy.uhhoh.com 12 points 5 months ago* (last edited 5 months ago) (3 children)

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

[–] thingsiplay@beehaw.org 5 points 5 months ago (2 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.

[–] adamnejm@programming.dev 4 points 5 months ago (1 children)

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

[–] thingsiplay@beehaw.org 2 points 5 months ago

Thank you for the encouraging words. :-)