28
submitted 4 weeks ago* (last edited 4 weeks ago) by thingsiplay@beehaw.org to c/foss@beehaw.org

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
[-] kate@lemmy.uhhoh.com 12 points 4 weeks ago* (last edited 4 weeks ago)

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

[-] thingsiplay@beehaw.org 5 points 4 weeks ago

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 3 weeks ago

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

[-] thingsiplay@beehaw.org 2 points 3 weeks ago

Thank you for the encouraging words. :-)

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

Free and Open Source Software

17480 readers
109 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