]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[README.md] Add an example for how to use .netrc on Windows
authorYen Chi Hsuan <yan12125@gmail.com>
Mon, 29 May 2017 06:58:07 +0000 (14:58 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Mon, 29 May 2017 06:58:07 +0000 (14:58 +0800)
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

README.md

index dc0be1f402b8dd5dc3af704d4f8528467428abab..284ce8ca3cd4287a6f95139971272c6fc197a6f2 100644 (file)
--- a/README.md
+++ b/README.md
@@ -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