Advertisement
Guest User

Untitled

a guest
Oct 8th, 2015
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.06 KB | None | 0 0
  1. Options:
  2. General Options:
  3. -h, --help print this help text and exit
  4. --version print program version and exit
  5. -U, --update update this program to latest version. Make
  6. sure that you have sufficient permissions
  7. (run with sudo if needed)
  8. -i, --ignore-errors continue on download errors, for example to
  9. to skip unavailable videos in a playlist
  10. --abort-on-error Abort downloading of further videos (in the
  11. playlist or the command line) if an error
  12. occurs
  13. --dump-user-agent display the current browser identification
  14. --user-agent UA specify a custom user agent
  15. --referer REF specify a custom referer, use if the video
  16. access is restricted to one domain
  17. --list-extractors List all supported extractors and the URLs
  18. they would handle
  19. --extractor-descriptions Output descriptions of all supported
  20. extractors
  21. --proxy URL Use the specified HTTP/HTTPS proxy. Pass in
  22. an empty string (--proxy "") for direct
  23. connection
  24. --no-check-certificate Suppress HTTPS certificate validation.
  25. --cache-dir DIR Location in the filesystem where youtube-dl
  26. can store some downloaded information
  27. permanently. By default $XDG_CACHE_HOME
  28. /youtube-dl or ~/.cache/youtube-dl . At the
  29. moment, only YouTube player files (for
  30. videos with obfuscated signatures) are
  31. cached, but that may change.
  32. --no-cache-dir Disable filesystem caching
  33. --socket-timeout None Time to wait before giving up, in seconds
  34. --bidi-workaround Work around terminals that lack
  35. bidirectional text support. Requires bidiv
  36. or fribidi executable in PATH
  37. --default-search PREFIX Use this prefix for unqualified URLs. For
  38. example "gvsearch2:" downloads two videos
  39. from google videos for youtube-dl "large
  40. apple". By default (with value "auto")
  41. youtube-dl guesses.
  42. --ignore-config Do not read configuration files. When given
  43. in the global configuration file /etc
  44. /youtube-dl.conf: do not read the user
  45. configuration in ~/.config/youtube-dl.conf
  46. (%APPDATA%/youtube-dl/config.txt on
  47. Windows)
  48.  
  49. Video Selection:
  50. --playlist-start NUMBER playlist video to start at (default is 1)
  51. --playlist-end NUMBER playlist video to end at (default is last)
  52. --match-title REGEX download only matching titles (regex or
  53. caseless sub-string)
  54. --reject-title REGEX skip download for matching titles (regex or
  55. caseless sub-string)
  56. --max-downloads NUMBER Abort after downloading NUMBER files
  57. --min-filesize SIZE Do not download any videos smaller than
  58. SIZE (e.g. 50k or 44.6m)
  59. --max-filesize SIZE Do not download any videos larger than SIZE
  60. (e.g. 50k or 44.6m)
  61. --date DATE download only videos uploaded in this date
  62. --datebefore DATE download only videos uploaded on or before
  63. this date (i.e. inclusive)
  64. --dateafter DATE download only videos uploaded on or after
  65. this date (i.e. inclusive)
  66. --min-views COUNT Do not download any videos with less than
  67. COUNT views
  68. --max-views COUNT Do not download any videos with more than
  69. COUNT views
  70. --no-playlist download only the currently playing video
  71. --age-limit YEARS download only videos suitable for the given
  72. age
  73. --download-archive FILE Download only videos not listed in the
  74. archive file. Record the IDs of all
  75. downloaded videos in it.
  76. --include-ads Download advertisements as well
  77. (experimental)
  78. --youtube-include-dash-manifest Try to download the DASH manifest on
  79. YouTube videos (experimental)
  80.  
  81. Download Options:
  82. -r, --rate-limit LIMIT maximum download rate in bytes per second
  83. (e.g. 50K or 4.2M)
  84. -R, --retries RETRIES number of retries (default is 10)
  85. --buffer-size SIZE size of download buffer (e.g. 1024 or 16K)
  86. (default is 1024)
  87. --no-resize-buffer do not automatically adjust the buffer
  88. size. By default, the buffer size is
  89. automatically resized from an initial value
  90. of SIZE.
  91.  
  92. Filesystem Options:
  93. -t, --title use title in file name (default)
  94. --id use only video ID in file name
  95. -l, --literal [deprecated] alias of --title
  96. -A, --auto-number number downloaded files starting from 00000
  97. -o, --output TEMPLATE output filename template. Use %(title)s to
  98. get the title, %(uploader)s for the
  99. uploader name, %(uploader_id)s for the
  100. uploader nickname if different,
  101. %(autonumber)s to get an automatically
  102. incremented number, %(ext)s for the
  103. filename extension, %(format)s for the
  104. format description (like "22 - 1280x720" or
  105. "HD"), %(format_id)s for the unique id of
  106. the format (like Youtube's itags: "137"),
  107. %(upload_date)s for the upload date
  108. (YYYYMMDD), %(extractor)s for the provider
  109. (youtube, metacafe, etc), %(id)s for the
  110. video id, %(playlist)s for the playlist the
  111. video is in, %(playlist_index)s for the
  112. position in the playlist and %% for a
  113. literal percent. Use - to output to stdout.
  114. Can also be used to download to a different
  115. directory, for example with -o '/my/downloa
  116. ds/%(uploader)s/%(title)s-%(id)s.%(ext)s' .
  117. --autonumber-size NUMBER Specifies the number of digits in
  118. %(autonumber)s when it is present in output
  119. filename template or --auto-number option
  120. is given
  121. --restrict-filenames Restrict filenames to only ASCII
  122. characters, and avoid "&" and spaces in
  123. filenames
  124. -a, --batch-file FILE file containing URLs to download ('-' for
  125. stdin)
  126. --load-info FILE json file containing the video information
  127. (created with the "--write-json" option)
  128. -w, --no-overwrites do not overwrite files
  129. -c, --continue force resume of partially downloaded files.
  130. By default, youtube-dl will resume
  131. downloads if possible.
  132. --no-continue do not resume partially downloaded files
  133. (restart from beginning)
  134. --cookies FILE file to read cookies from and dump cookie
  135. jar in
  136. --no-part do not use .part files
  137. --no-mtime do not use the Last-modified header to set
  138. the file modification time
  139. --write-description write video description to a .description
  140. file
  141. --write-info-json write video metadata to a .info.json file
  142. --write-annotations write video annotations to a .annotation
  143. file
  144. --write-thumbnail write thumbnail image to disk
  145.  
  146. Verbosity / Simulation Options:
  147. -q, --quiet activates quiet mode
  148. -s, --simulate do not download the video and do not write
  149. anything to disk
  150. --skip-download do not download the video
  151. -g, --get-url simulate, quiet but print URL
  152. -e, --get-title simulate, quiet but print title
  153. --get-id simulate, quiet but print id
  154. --get-thumbnail simulate, quiet but print thumbnail URL
  155. --get-description simulate, quiet but print video description
  156. --get-duration simulate, quiet but print video length
  157. --get-filename simulate, quiet but print output filename
  158. --get-format simulate, quiet but print output format
  159. -j, --dump-json simulate, quiet but print JSON information
  160. --newline output progress bar as new lines
  161. --no-progress do not print progress bar
  162. --console-title display progress in console titlebar
  163. -v, --verbose print various debugging information
  164. --dump-intermediate-pages print downloaded pages to debug problems
  165. (very verbose)
  166. --write-pages Write downloaded intermediary pages to
  167. files in the current directory to debug
  168. problems
  169. --print-traffic Display sent and read HTTP traffic
  170.  
  171. Video Format Options:
  172. -f, --format FORMAT video format code, specify the order of
  173. preference using slashes: "-f 22/17/18".
  174. "-f mp4" and "-f flv" are also supported.
  175. You can also use the special names "best",
  176. "bestaudio", "worst", and "worstaudio". By
  177. default, youtube-dl will pick the best
  178. quality.
  179. --all-formats download all available video formats
  180. --prefer-free-formats prefer free video formats unless a specific
  181. one is requested
  182. --max-quality FORMAT highest quality format to download
  183. -F, --list-formats list all available formats
  184.  
  185. Subtitle Options:
  186. --write-sub write subtitle file
  187. --write-auto-sub write automatic subtitle file (youtube
  188. only)
  189. --all-subs downloads all the available subtitles of
  190. the video
  191. --list-subs lists all available subtitles for the video
  192. --sub-format FORMAT subtitle format (default=srt) ([sbv/vtt]
  193. youtube only)
  194. --sub-lang LANGS languages of the subtitles to download
  195. (optional) separated by commas, use IETF
  196. language tags like 'en,pt'
  197.  
  198. Authentication Options:
  199. -u, --username USERNAME account username
  200. -p, --password PASSWORD account password
  201. -n, --netrc use .netrc authentication data
  202. --video-password PASSWORD video password (vimeo, smotri)
  203.  
  204. Post-processing Options:
  205. -x, --extract-audio convert video files to audio-only files
  206. (requires ffmpeg or avconv and ffprobe or
  207. avprobe)
  208. --audio-format FORMAT "best", "aac", "vorbis", "mp3", "m4a",
  209. "opus", or "wav"; best by default
  210. --audio-quality QUALITY ffmpeg/avconv audio quality specification,
  211. insert a value between 0 (better) and 9
  212. (worse) for VBR or a specific bitrate like
  213. 128K (default 5)
  214. --recode-video FORMAT Encode the video to another format if
  215. necessary (currently supported:
  216. mp4|flv|ogg|webm)
  217. -k, --keep-video keeps the video file on disk after the
  218. post-processing; the video is erased by
  219. default
  220. --no-post-overwrites do not overwrite post-processed files; the
  221. post-processed files are overwritten by
  222. default
  223. --embed-subs embed subtitles in the video (only for mp4
  224. videos)
  225. --add-metadata write metadata to the video file
  226. --xattrs write metadata to the video file's xattrs
  227. (using dublin core and xdg standards)
  228. --prefer-avconv Prefer avconv over ffmpeg for running the
  229. postprocessors (default)
  230. --prefer-ffmpeg Prefer ffmpeg over avconv for running the
  231. postprocessors
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement