You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I first tried this script with the -u and -p args I get an error:
bash: !an < rest of the password >: event not found
When I tried with the .netrc file I get a bad cookie or wrong credentials error, even though they were right. This is when I wanted to post the issue but I went through the code and found these lines:
if args.username and not args.password and not args.netrc:
args.password = getpass.getpass("Coursera password for %s: " % args.username)
so I just entered my username via -u and the name of the class without my password, I got the prompt for the password, after entering it the download started normally. So I guess there is a problem with parsing the complex passwords - I'm not much of a coder so I'm not sure what exactly is an issue, hopefully you guys will know and improve this script!
Good script, it's a life savior! Cheers! :)
The text was updated successfully, but these errors were encountered:
When I first tried this script with the -u and -p args I get an error:
bash: !an: event not found
It's not clear here if you were trying to use bash's history functions
(a ! immediately followed by some characters to repeat a previous
command containing those characters) or if your password actually has
an exclamation character.
I suspect, from your message, that the second case applies here, in
which case you have to escape the exclamation.
When I first tried this script with the -u and -p args I get an error:
bash: !an < rest of the password >: event not found
When I tried with the .netrc file I get a bad cookie or wrong credentials error, even though they were right. This is when I wanted to post the issue but I went through the code and found these lines:
so I just entered my username via -u and the name of the class without my password, I got the prompt for the password, after entering it the download started normally. So I guess there is a problem with parsing the complex passwords - I'm not much of a coder so I'm not sure what exactly is an issue, hopefully you guys will know and improve this script!
Good script, it's a life savior! Cheers! :)
The text was updated successfully, but these errors were encountered: