Skip to content

Commit d10d0e3

Browse files
committed
[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: python/cpython#123
1 parent 941ea38 commit d10d0e3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,10 @@ machine twitch login my_twitch_account_name password my_twitch_password
474474
```
475475
To activate authentication with the `.netrc` file you should pass `--netrc` to youtube-dl or place it in the [configuration file](#configuration).
476476

477-
On Windows you may also need to setup the `%HOME%` environment variable manually.
477+
On Windows you may also need to setup the `%HOME%` environment variable manually. For example:
478+
```
479+
set HOME=%USERPROFILE%
480+
```
478481

479482
# OUTPUT TEMPLATE
480483

0 commit comments

Comments
 (0)