diff options
author | Yen Chi Hsuan <[email protected]> | 2017-05-29 14:58:07 +0800 |
---|---|---|
committer | Yen Chi Hsuan <[email protected]> | 2017-05-29 14:58:07 +0800 |
commit | d10d0e3cf8c38fba27d873fd3cb60572327fe5dc (patch) | |
tree | 92616248ec438549df441315853a4ea7ce8f70e9 /README.md | |
parent | 941ea38ef535ec2923c224a88cdedeae3eb42a68 (diff) | |
download | youtube-dl-d10d0e3cf8c38fba27d873fd3cb60572327fe5dc.tar.gz youtube-dl-d10d0e3cf8c38fba27d873fd3cb60572327fe5dc.zip |
[README.md] Add an example for how to use .netrc on Windows
That's a Python bug: http://bugs.python.org/issue28334
Most likely it will be fixed in Python 3.7: https://github.com/python/cpython/pull/123
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -474,7 +474,10 @@ machine twitch login my_twitch_account_name password my_twitch_password ``` To activate authentication with the `.netrc` file you should pass `--netrc` to youtube-dl or place it in the [configuration file](#configuration). -On Windows you may also need to setup the `%HOME%` environment variable manually. +On Windows you may also need to setup the `%HOME%` environment variable manually. For example: +``` +set HOME=%USERPROFILE% +``` # OUTPUT TEMPLATE |