diff options
author | Sergey M <dstftw@gmail.com> | 2016-02-28 02:56:09 +0600 |
---|---|---|
committer | Sergey M <dstftw@gmail.com> | 2016-02-28 02:56:09 +0600 |
commit | 4587915b2aed8d2a8373614e5984fe6e5ccaeae2 (patch) | |
tree | 5cd4735fec7e09b85494ddc57ea2115a8ae918f9 | |
parent | da665ddc2551147b7b38f919c9d5c719a93f9c5d (diff) |
[README.md] Make configuration file example more diverse
-rw-r--r-- | README.md | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -409,11 +409,14 @@ which means you can modify it, redistribute it or use it however you like. # CONFIGURATION -You can configure youtube-dl by placing any supported command line option to a configuration file. On Linux, the system wide configuration file is located at `/etc/youtube-dl.conf` and the user wide configuration file at `~/.config/youtube-dl/config`. On Windows, the user wide configuration file locations are `%APPDATA%\youtube-dl\config.txt` or `C:\Users\<user name>\youtube-dl.conf`. For example, with the following configuration file youtube-dl will always extract the audio, not copy the mtime and use a proxy: +You can configure youtube-dl by placing any supported command line option to a configuration file. On Linux, the system wide configuration file is located at `/etc/youtube-dl.conf` and the user wide configuration file at `~/.config/youtube-dl/config`. On Windows, the user wide configuration file locations are `%APPDATA%\youtube-dl\config.txt` or `C:\Users\<user name>\youtube-dl.conf`. + +For example, with the following configuration file youtube-dl will always extract the audio, not copy the mtime, use a proxy and save all videos under `Movies` directory in your `$HOME`: ``` ---extract-audio +-x --no-mtime --proxy 127.0.0.1:3128 +-o ~/Movies/%(title)s.%(ext)s ``` You can use `--ignore-config` if you want to disable the configuration file for a particular youtube-dl run. |