Follow

can anyone who understands youtube-dl explain to me why rm-cache-dir exists and when it should be run.

the advice in the repo seems to be "run it when you get a 403" but that seems like something youtube-dl could just..... do?

@nightpool seems it's for stashing youtube player files for videos with obfuscated signatures (i assume private videos, pay-to-watch videos, yt-red exclusives...). so if that signature changes, you could get a 403 and need to clear the cache

@nfd that makes sense, but is there any reason to have a manual cache clear command? couldn't youtube-dl just handle the 403 error and do whatever it does (?) to regenerate the cache?

@nightpool Probably? There's also a flag to not use the cache, note

Sign in to participate in the conversation
Cybrespace

Cybrespace is an instance of Mastodon, a social network based on open web protocols and free, open-source software. It is decentralized like e-mail.