add .netrc support (#22)

Use the '--netrc' cmdline option or set the 'netrc' config option
to 'true' to enable the use of .netrc authentication data.

The 'machine' names for the .netrc info are the lowercase extractor
names (or categories): batoto, exhentai, nijie, pixiv, seiga.
This commit is contained in:
Mike Fährmann
2017-06-24 12:17:26 +02:00
parent fbe8c519e2
commit d3b04076f7
9 changed files with 42 additions and 11 deletions

View File

@@ -1,5 +1,6 @@
{
"base-directory": "/tmp/",
"netrc": false,
"downloader":
{
"http":