summaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorSergey M <[email protected]>2016-02-23 04:29:39 +0600
committerSergey M <[email protected]>2016-02-23 04:29:39 +0600
commit1610f770d7912bead235b2bc0fa0cc84a746be69 (patch)
treed037a08e042d0e64cc1cdc15868dc13bae68ef78 /README.md
parent0fc871d2f0ae57b88f78c32e3f76bfc1ca609ef0 (diff)
downloadyoutube-dl-1610f770d7912bead235b2bc0fa0cc84a746be69.tar.gz
youtube-dl-1610f770d7912bead235b2bc0fa0cc84a746be69.zip
[README.md] Extract example subsections
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/README.md b/README.md
index 2fbf0219b..309de7782 100644
--- a/README.md
+++ b/README.md
@@ -513,7 +513,9 @@ The current default template is `%(title)s-%(id)s.%(ext)s`.
In some cases, you don't want special characters such as δΈ­, spaces, or &, such as when transferring the downloaded filename to a Windows system or the filename through an 8bit-unsafe channel. In these cases, add the `--restrict-filenames` flag to get a shorter title:
-Examples (note on Windows you may need to use double quotes instead of single):
+#### Examples
+
+Note on Windows you may need to use double quotes instead of single.
```bash
$ youtube-dl --get-filename -o '%(title)s.%(ext)s' BaW_jenozKc
@@ -595,7 +597,10 @@ Since the end of April 2015 and version 2015.04.26 youtube-dl uses `-f bestvideo
If you want to preserve the old format selection behavior (prior to youtube-dl 2015.04.26), i.e. you want to download the best available quality media served as a single file, you should explicitly specify your choice with `-f best`. You may want to add it to the [configuration file](#configuration) in order not to type it every time you run youtube-dl.
-Examples (note on Windows you may need to use double quotes instead of single):
+#### Examples
+
+Note on Windows you may need to use double quotes instead of single.
+
```bash
# Download best mp4 format available or any other best if no mp4 available
$ youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best'