diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 22 |
1 files changed, 17 insertions, 5 deletions
@@ -150,9 +150,9 @@ Then simply type this compatibility) if this option is found inside the system configuration file, the user configuration is not loaded - --config-location PATH Location of the configuration file; either - the path to the config or its containing - directory + --config-location PATH Location of the main configuration file; + either the path to the config or its + containing directory --flat-playlist Do not extract the videos of a playlist, only list them --flat-videos Do not resolve the video urls @@ -316,6 +316,17 @@ Then simply type this stdin), one URL per line. Lines starting with '#', ';' or ']' are considered as comments and ignored + -P, --paths TYPE:PATH The paths where the files should be + downloaded. Specify the type of file and + the path separated by a colon ":" + (supported: description|annotation|subtitle + |infojson|thumbnail). Additionally, you can + also provide "home" and "temp" paths. All + intermediary files are first downloaded to + the temp path and then the final files are + moved over to the home path after download + is finished. Note that this option is + ignored if --output is an absolute path -o, --output TEMPLATE Output filename template, see "OUTPUT TEMPLATE" for details --autonumber-start NUMBER Specify the start value for %(autonumber)s @@ -651,8 +662,9 @@ Then simply type this You can configure youtube-dlc by placing any supported command line option to a configuration file. The configuration is loaded from the following locations: -1. The file given by `--config-location` +1. **Main Configuration**: The file given by `--config-location` 1. **Portable Configuration**: `yt-dlp.conf` or `youtube-dlc.conf` in the same directory as the bundled binary. If you are running from source-code (`<root dir>/youtube_dlc/__main__.py`), the root directory is used instead. +1. **Home Configuration**: `yt-dlp.conf` or `youtube-dlc.conf` in the home path given by `-P "home:<path>"`, or in the current directory if no such path is given 1. **User Configuration**: * `%XDG_CONFIG_HOME%/yt-dlp/config` (recommended on Linux/macOS) * `%XDG_CONFIG_HOME%/yt-dlp.conf` @@ -710,7 +722,7 @@ set HOME=%USERPROFILE% # OUTPUT TEMPLATE -The `-o` option allows users to indicate a template for the output file names. +The `-o` option is used to indicate a template for the output file names while `-P` option is used to specify the path each type of file should be saved to. **tl;dr:** [navigate me to examples](#output-template-examples). |