aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSergey M <dstftw@gmail.com>2016-02-07 19:06:42 +0600
committerSergey M <dstftw@gmail.com>2016-02-07 19:06:42 +0600
commit3b799ca14cfeb1d17da637b2539044758d7355e6 (patch)
tree221ad09dbacce0df59b76567b46e5c938f2cbdf9 /README.md
parent0474512e3029a7a3121fbe8f08c9ff226deecc7d (diff)
[README.md] Clarify percent literal and output to stdout
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 75f53e51f..93a88e79b 100644
--- a/README.md
+++ b/README.md
@@ -505,6 +505,8 @@ For example for `-o %(title)s-%(id)s.%(ext)s` and mp4 video with title `youtube-
Output template can also contain arbitrary hierarchical path, e.g. `-o %(playlist)s/%(playlist_index)s - %(title)s.%(ext)s` that will result in downloading each video in a directory corresponding to this path template. Any missing directory will be automatically created for you.
+To specify percent literal in output template use `%%`. To output to stdout use `-o -`.
+
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: