diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2015-03-03 12:59:17 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2015-03-03 12:59:17 +0100 |
commit | 499bfcbfd09e85f053d7e8943a8d47fed9349b0e (patch) | |
tree | 443c5044ab5d3d5cf986689eec8c42d176adcb89 /youtube_dl/extractor/lynda.py | |
parent | 07490f8017a83b7607686499074c41212fa0a44f (diff) |
Make sure netrc works for all extractors with login support
Fixes #5112
Diffstat (limited to 'youtube_dl/extractor/lynda.py')
-rw-r--r-- | youtube_dl/extractor/lynda.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/lynda.py b/youtube_dl/extractor/lynda.py index 1f02bef44..cfd3b14f4 100644 --- a/youtube_dl/extractor/lynda.py +++ b/youtube_dl/extractor/lynda.py @@ -19,6 +19,7 @@ class LyndaBaseIE(InfoExtractor): _LOGIN_URL = 'https://www.lynda.com/login/login.aspx' _SUCCESSFUL_LOGIN_REGEX = r'isLoggedIn: true' _ACCOUNT_CREDENTIALS_HINT = 'Use --username and --password options to provide lynda.com account credentials.' + _NETRC_MACHINE = 'lynda' def _real_initialize(self): self._login() |