Youtube-DL .netrc File

.netrc

Place (or create) a file: named .netrc in your User's Home directory

/Users/<user name>/.netrc

This file should have its permissions set to only allow read / write from the User that owns it for security. Enable .netrc file by adding the --netrc option to config file

Credentials

Add credentials for an extractor in the following format, where <extractor> is the name of the extractor in lowercase:

machine <extractor> login <login> password <password>

Example for O'Reilly learning (safari online):

machine safari login FakeEmail@mNotReal.com password FaKePaSsWoRd

Last updated