mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-22 22:34:01 -07:00
missing example in documentation on github #31425
This commit is contained in:
parent
195f22f679
commit
4c969eb8e1
1 changed files with 1 additions and 1 deletions
|
@ -632,7 +632,7 @@ To use percent literals in an output template use `%%`. To output to stdout use
|
||||||
|
|
||||||
The current default template is `%(title)s-%(id)s.%(ext)s`.
|
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:
|
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, e.g, `youtube-dl --get-filename -o '%(title)s.%(ext)s' BaW_jenozKc --restrict-filenames`
|
||||||
|
|
||||||
#### Output template and Windows batch files
|
#### Output template and Windows batch files
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue