Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Fix youtube-dl embedded options & update forbidden 403 pinned issue #24891
Comments
|
You don't need to include this in embedded code in the first place. Running it once from CLI is enough. |
|
What do you mean by "You don't need to include this in embedded code in the first place. Running it once from CLI is enough"? I swear you didn't even read what I said. |
|
Again: do not use |
Checklist
Description
I use the embedded version of Youtube-dl and I find its options somewhat different and vague compared to command-line options. I recently had the 403 forbidden error and the solution says to use
--rm-cache-dirbut what is the corresponding embedded way? It took some time to figure it out: the "rm-cache-dir" has the alternative solution of "cachedir: False" but the language used in the options description says "False to disable filesystem cache." I don't know about you but the meaning of remove and disable is not the same. You should really update that post to include the embedded way of fixing the problem, it would've saved me a lot of time. It would also be beneficial to not lock the pinned post so that people don't create a new issue. That's just one problem (dual meanings/descriptions).Also this takes up 3 lines instead of 2.
What I would really appreciate is a) if each of these options descriptions specified the type of the option. E.g.
keepvideo (bool): Keep the video file after post-processing. A developer should not have to make assumptions or infer what the type will be. It's not a thinking heavy task so I'd appreciate it. Secondly, you should also include the command line alternative in the description so a developer knows the corresponding command-line option.