missing example in documentation on github #31425

This commit is contained in:
Rodrigo Dias 2023-01-23 17:48:22 +00:00 committed by GitHub
commit 4c969eb8e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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