From: Sergey M Date: Sat, 27 Feb 2016 20:56:09 +0000 (+0600) Subject: [README.md] Make configuration file example more diverse X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=4587915b2aed8d2a8373614e5984fe6e5ccaeae2;p=youtube-dl [README.md] Make configuration file example more diverse --- diff --git a/README.md b/README.md index d50d4b950..7d9d501d7 100644 --- a/README.md +++ b/README.md @@ -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\\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\\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.