X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=index.html.in;h=ddcebcdf55bbbc8e643dc789b39581ce27715686;hb=64a6f26c5d3720b36a7486dc9883ec74f0e4a3b2;hp=40f8fd3260252563104d9d449bafc1ec21b50dc8;hpb=f807dc157e1215c3dbaf82333f6e86a8f98ea76b;p=youtube-dl.git diff --git a/index.html.in b/index.html.in index 40f8fd326..ddcebcdf5 100644 --- a/index.html.in +++ b/index.html.in @@ -96,7 +96,8 @@ is too old.

  • You can change the file name of the video using the -o option, like in youtube-dl -o vid.flv "http://www.youtube.com/watch?v=foobar". -Read the Output template section for more details on this.
  • +Read the Output template section for more details on +this.
  • Some videos require an account to be downloaded, mostly because they're flagged as mature content. You can pass the program a username and password @@ -130,15 +131,27 @@ literal title in the filename with the -l or --literal option.
  • by using the -f or --format option. This makes it possible to download high quality versions of the videos when available. -
  • youtube-dl can attempt to download the best quality version of -a video by using the -b or --best-quality option.
  • +
  • The -b or --best-quality option is an alias for -f 18.
  • -
  • youtube-dl can attempt to download the mobile quality version of -a video by using the -m or --mobile-version option.
  • +
  • The -m or --mobile-version option is an alias for -f 17.
  • Normally, the program will stop on the first error, but you can tell it to attempt to download every video with the -i or --ignore-errors option.
  • +
  • The -a or --batch-file option lets you specify a file to read URLs from. +The file must contain one URL per line.
  • + +
  • For YouTube, you can also use the URL of a playlist, and it will download +all the videos in that playlist.
  • + +
  • For YouTube, you can also use the special word ytsearch to +download search results. With ytsearch it will download the +first search result. With ytsearchN, where N is a number, it +will download the first N results. With ytsearchall it will +download every result for that search. In most systems you'll need to +use quotes for multiple words. Example: youtube-dl "ytsearch3:cute +kittens". +
  • youtube-dl honors the http_proxy environment variable if you want to use a proxy. Set it to something like http://proxy.example.com:8080, and do not leave the http:// @@ -171,7 +184,7 @@ are using.

  • SHA256: @PROGRAM_SHA256SUM@
  • -

    Output template

    +

    Output template

    The -o option allows users to indicate a template for the output file names. The basic usage is not to set any template arguments when downloading a single @@ -189,9 +202,9 @@ person who uploaded the video.

  • title: The sequence will be replaced by the literal video title.
  • stitle: The sequence will be replaced by a simplified video -title.
  • +title, restricted to alphanumeric characters and dashes.
  • ext: The sequence will be replaced by the appropriate -extension.
  • +extension (like flv or mp4).

    As you may have guessed, the default template is %(id)s.%(ext)s. @@ -203,6 +216,7 @@ When some command line options are used, it's replaced by other templates like