question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

--rm-cache-dir/--no-cache-dir - What exactly are they used for

See original GitHub issue

Checklist

  • I’m asking a question
  • I’ve looked through the README and FAQ for similar questions
  • I’ve searched the bugtracker for similar questions including closed ones

Question

I have written a GUI for youtube-dl and for the last couple of hours I have been experincing some '403: Forbidden` errors when downloading items from yt playlists.

After g searching for a while the most common suggestions I came accross was to run ‘–rm-cache-dir’. I searched what exactly they are for but didn’t quite understand the very few explanations I found.

When I run ‘–rm-cache-dir’ what does this mean for the end-user. what if I just run ’ ‘–no-cache-dir’ for every youtube-dl call?

A side-note question: I would very much to share my GUI program( not open source yet, to be soon I hope), where can I do that?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
pukkandancommented, Jul 22, 2021

some youtube videos require a signature to be downloaded. This signature is dervied from a function in a /player URL. youtube normally caches these function definitions. If you chose not to use the cache, this /player/ page has to be re-downloaded each time. That is 1 additional request per video. There is no other impact.

The situation is similar for other extractors that use the cache

1reaction
Lee-Carrecommented, Jan 15, 2022

@hbtalha

will the user notice the any difference?

Yes;

  • performance
  • network usage
Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found