1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-07 05:47:20 +08:00

Updated README to replace paragraph with table.

This commit is contained in:
haider-ilahi 2019-11-13 14:32:33 -08:00 committed by GitHub
parent 5709d661a2
commit 3d40b3d99e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -442,7 +442,15 @@ Alternatively, refer to the [developer instructions](#developer-instructions) fo
# CONFIGURATION
You can configure youtube-dl by placing any supported command line option to a configuration file. On Linux and macOS, 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`. Note that by default configuration file may not exist so you may need to create it yourself.
You can configure youtube-dl by placing any supported command line option to a configuration file. The table below shows the locations
of the config files.
| | System wide config file location | User wide config file location |
|--------------|-----------------------------------|----------------------------------------|
| Linux/ macOS | `/etc/youtube-dl.conf` | `~/.config/youtube-dl/config` |
| Windows | `%APPDATA%\youtube-dl\config.txt` | `C:\Users\<user name>\youtube-dl.conf` |
Note that by default configuration file may not exist so you may need to create it yourself.
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 directory:
```