Cannot use authenticated download
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
youtube-dl (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Attempting to use the -u and -p options results in an AttributeError,
Addtl info:
- Account has 2-factor auth enabled
- The provided password is a app-specific password generated at https:/
Log:
$ youtube-dl -u username -p app_specific_
[youtube] Setting language
Traceback (most recent call last):
File "/usr/bin/
youtube_
File "/usr/lib/
_real_
File "/usr/lib/
retcode = ydl.download(
File "/usr/lib/
videos = self.extract_
File "/usr/lib/
ie_result = ie.extract(url)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
if not self._login():
File "/usr/lib/
login_form = dict((k.
File "/usr/lib/
login_form = dict((k.
AttributeError: 'NoneType' object has no attribute 'encode'
This will be difficult to troubleshoot and verify unless a public test case can be provided. Kane, can you upload such a video (one that is set to private but for which you can grant access to testers)?