diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-09-15 22:34:29 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-09-15 22:34:29 +0700 |
commit | 32443dd346594d64b579af714f4828287492c464 (patch) | |
tree | 3dc8f467f308c595606b854e7adc66d97357dede /youtube_dl | |
parent | 2133565cec3646680600d314b93e535f6fa52339 (diff) |
[extractor/common] Update _get_login_info's comment
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/common.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 9627816b4..95ea3fca5 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -683,7 +683,10 @@ class InfoExtractor(object): def _get_login_info(self, username_option='username', password_option='password', netrc_machine=None): """ Get the login info as (username, password) - It will look in the netrc file using the _NETRC_MACHINE value + First look for the manually specified credentials using username_option + and password_option as keys in params dictionary. If no such credentials + available look in the netrc file using the netrc_machine or _NETRC_MACHINE + value. If there's no info available, return (None, None) """ if self._downloader is None: |