diff options
author | Sergey M. <dstftw@gmail.com> | 2015-08-15 22:57:06 +0600 |
---|---|---|
committer | Sergey M. <dstftw@gmail.com> | 2015-08-15 22:57:06 +0600 |
commit | eaa5646483d22d3b658dcf63b61e6c3b67aa5bc5 (patch) | |
tree | a962bd3c21f5ffbc9274411ae88558250281120a /README.md | |
parent | 041bc3adc55bbe81649a1c5d283302e5a120659e (diff) |
[README.md] Clarify configuration file usage (Closes #6530)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -236,7 +236,14 @@ which means you can modify it, redistribute it or use it however you like. # CONFIGURATION -You can configure youtube-dl by placing default arguments (such as `--extract-audio --no-mtime` to always extract the audio and not copy the mtime) into `/etc/youtube-dl.conf` and/or `~/.config/youtube-dl/config`. On Windows, the configuration file locations are `%APPDATA%\youtube-dl\config.txt` and `C:\Users\<user name>\youtube-dl.conf`. +You can configure youtube-dl by placing any supported command line option to a configuration file. On Linux, system wide configuration file is located at `/etc/youtube-dl.conf` and 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 configration file youtube-dl will always extract the audio, not copy the mtime and use proxy: +``` +--extract-audio +--no-mtime +--proxy 127.0.0.1:3128 +``` + +You can use `--ignore-config` if you want to disable configuration file for a particular youtube-dl run. ### Authentication with `.netrc` file ### |