You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

83 lines
3.4 KiB

  1. # youtube-dl
  2. ## USAGE
  3. youtube-dl [OPTIONS] URL
  4. ## DESCRIPTION
  5. **youtube-dl** is a small command-line program to download videos from
  6. YouTube.com and a few more sites. It requires the Python interpreter, version
  7. 2.x (x being at least 5), and it is not platform specific. It should work in
  8. your Unix box, in Windows or in Mac OS X. It is released to the public domain,
  9. which means you can modify it, redistribute it or use it however you like.
  10. ## OPTIONS
  11. -h, --help print this help text and exit
  12. -v, --version print program version and exit
  13. -U, --update update this program to latest stable version
  14. -i, --ignore-errors continue on download errors
  15. -r LIMIT, --rate-limit=LIMIT
  16. download rate limit (e.g. 50k or 44.6m)
  17. -R RETRIES, --retries=RETRIES
  18. number of retries (default is 10)
  19. --playlist-start=NUMBER
  20. playlist video to start at (default is 1)
  21. --playlist-end=NUMBER
  22. playlist video to end at (default is last)
  23. --dump-user-agent display the current browser identification
  24. ### Authentication Options
  25. -u USERNAME, --username=USERNAME
  26. account username
  27. -p PASSWORD, --password=PASSWORD
  28. account password
  29. -n, --netrc use .netrc authentication data
  30. ### Video Format Options
  31. -f FORMAT, --format=FORMAT
  32. video format code
  33. --all-formats download all available video formats
  34. --max-quality=FORMAT
  35. highest quality format to download
  36. ### Verbosity / Simulation Options
  37. -q, --quiet activates quiet mode
  38. -s, --simulate do not download video
  39. -g, --get-url simulate, quiet but print URL
  40. -e, --get-title simulate, quiet but print title
  41. --get-thumbnail simulate, quiet but print thumbnail URL
  42. --get-description simulate, quiet but print video description
  43. --get-filename simulate, quiet but print output filename
  44. --no-progress do not print progress bar
  45. --console-title display progress in console titlebar
  46. ### Filesystem Options
  47. -t, --title use title in file name
  48. -l, --literal use literal title in file name
  49. -A, --auto-number number downloaded files starting from 00000
  50. -o TEMPLATE, --output=TEMPLATE
  51. output filename template
  52. -a FILE, --batch-file=FILE
  53. file containing URLs to download ('-' for stdin)
  54. -w, --no-overwrites
  55. do not overwrite files
  56. -c, --continue resume partially downloaded files
  57. --cookies=FILE file to dump cookie jar to
  58. --no-part do not use .part files
  59. --no-mtime do not use the Last-modified header to set the file
  60. modification time
  61. ### Post-processing Options:
  62. --extract-audio convert video files to audio-only files (requires
  63. ffmpeg and ffprobe)
  64. --audio-format=FORMAT
  65. "best", "aac" or "mp3"; best by default
  66. ## COPYRIGHT
  67. **youtube-dl**: Copyright © 2006-2011 Ricardo Garcia Gonzalez. The program is
  68. released into the public domain by the copyright holder. This README file was
  69. originally written by Daniel Bolton (<https://github.com/dbbolton>) and is
  70. likewise released into the public domain.
  71. ## BUGS
  72. Bugs should be reported at: <https://github.com/rg3/youtube-dl/issues>