Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use .netrc #22

Closed
Bfgeshka opened this issue Jun 24, 2017 · 1 comment
Closed

Use .netrc #22

Bfgeshka opened this issue Jun 24, 2017 · 1 comment

Comments

@Bfgeshka
Copy link

So, there's a file with format designed for ftp connections $HOME/.netrc. Syntax info.

This file can be used for keeping credentials for specific locations. In this way config.json could be safely shared without user/pass pairs,

youtube-dl actually uses .netrc in this way for its extractors as alternative to direct plain user/pass arguments.

mikf added a commit that referenced this issue Jun 24, 2017
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.
@Bfgeshka
Copy link
Author

Works good, well done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants