New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Crucial guide command leads into errors #31277
base: master
Are you sure you want to change the base?
Conversation
At university, colleagues and I tried this tool, but all of us got the error at this point: youtube-dl [OPTIONS] URL [URL...] youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' URL https://www.youtube.com/watch?v=Toon9VARRIU ERROR: You've asked youtube-dl to download the URL "URL". That doesn't make any sense. Simply remove the parameter in your command or configuration. Add -v to the command line to see what arguments and configuration youtube-dl got. So, to avoid future devs into this error... we love the project and want to improve it! By just removing the "URL" word.
You misunderstood it: if you remove |
How about |
Technically that's correct though, depending on which options are passed (eg: |
In that sense it's technically correct, true. |
Modified kine 52 to youtube-dl [OPTIONS] URLS
Yeah! Totally true @rautamiekka |
I think you also want to modify here, youtube-dl/youtube_dl/options.py Line 125 in d35557a
as youtube-dl gives:
|
Improvements
done! |
Yes, I can just about see how the original help synopsis might be confusing. Anyhow it's just wrong. The options don't have to precede the URLs and the URLs don't have to be provided if the options mean that yt-dl doesn't expect them. curl, which has a somewhat similar UI, has the right formulation.
And also
|
At university, colleagues and I tried this tool, but all of us got the error at this point:
youtube-dl [OPTIONS] URL [URL...]
youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' URL https://www.youtube.com/watch?v=Toon9VARRIU
ERROR: You've asked youtube-dl to download the URL "URL". That doesn't make any sense. Simply remove the parameter in your command or configuration. Add -v to the command line to see what arguments and configuration youtube-dl got.
So, to avoid future devs into this error... we love the project and want to improve it!
By just removing the "URL" word.