1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 07:56:49 +00:00

Compare commits

...

4 Commits

Author SHA1 Message Date
Miguel Gargallo
d26a0090af
Merge 64fc2681ca into c5098961b0 2024-08-21 22:32:46 -04:00
Miguel Gargallo
64fc2681ca
Improvements
Improvements
2022-10-07 15:18:47 +02:00
Miguel Gargallo
ec1c85432c
Improvement: Readme
Modified kine 52 to
youtube-dl [OPTIONS] URLS
2022-10-06 09:21:28 +02:00
Miguel Gargallo
32f7f32549
Fix Crucial guide command leads into errors
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.
2022-10-04 17:01:21 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ Alternatively, refer to the [developer instructions](#developer-instructions) fo
# DESCRIPTION # DESCRIPTION
**youtube-dl** is a command-line program to download videos from YouTube.com and a few more sites. It requires the Python interpreter, version 2.6, 2.7, or 3.2+, and it is not platform specific. It should work on your Unix box, on Windows or on macOS. It is released to the public domain, which means you can modify it, redistribute it or use it however you like. **youtube-dl** is a command-line program to download videos from YouTube.com and a few more sites. It requires the Python interpreter, version 2.6, 2.7, or 3.2+, and it is not platform specific. It should work on your Unix box, on Windows or on macOS. It is released to the public domain, which means you can modify it, redistribute it or use it however you like.
youtube-dl [OPTIONS] URL [URL...] youtube-dl [OPTIONS] URLS
# OPTIONS # OPTIONS
-h, --help Print this help text and exit -h, --help Print this help text and exit

View File

@ -120,7 +120,7 @@ def parseOpts(overrideArguments=None):
kw = { kw = {
'version': __version__, 'version': __version__,
'formatter': fmt, 'formatter': fmt,
'usage': '%prog [OPTIONS] URL [URL...]', 'usage': '%prog [OPTIONS] URLS',
'conflict_handler': 'resolve', 'conflict_handler': 'resolve',
} }