-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[udemy] unable to login #14713
Comments
Post the output with |
You missed a email address there. |
UPDATE: Evreything is working now, I was using an old version of the script that i got from apt! |
I can confirm that I have the same issue with downloading courses from Udemy. I use the latest version and I'm on HighSierra. |
@dikadk It's strange, are you sure are you using the latest version? I've no problem on windows, but the two OS shouldn't differ |
I'm having the same error, here's my output with the I'm running the latest version of youtube-dl on High Sierra. |
I can't login to udemy too |
|
request with dump page |
Looks like this is back....
|
I do have kind similar issue. But to me is strange as once I did write: youtube-dl -u email -p Password Link/content it then on the next line put something strange as youtube-dl -u email -p Password+someotherstring Link/content I tried without -u and -p but bring me the following Unable to download webpage: HTTP Error 403: Unauthorized (caused by HTTPError()); |
I had a look to my local udemy-dl and found that the code that is failing seems the following: def get_csrf_token(): |
So seems the that part fail to get the CSRF Token. Could be udemy changed the Token? |
Just to clarify I got the previous error not running youtube-dl but udemy-dl that is the only one that prompt to give userName and Password. |
how do you use udemy-dl? when I try that it is not a recognized command. I am getting a similar error trying to login...
|
I also get this error:
Has there been any progress at this? |
@ewarner9 I am on Ubuntu 18.04 though. You are in Windows(n so CPython). Our error code is the same 403, it then does not recognize our credentials. In my case the reason is that somehow to the password is added an extra string. Too me seems a security constrain |
youtube-dl -u [email protected] -p password https://www.udemy.com/javascript-essentials/learn/v4/content --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'https://www.udemy.com/javascript-essentials/learn/v4/content', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.11.06
[debug] Python version 2.7.12 - Linux-4.10.0-38-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: none
[debug] Proxy map: {}
[udemy:course] Downloading login popup
[udemy:course] Logging in as [email protected]
ERROR: Unable to log in; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/home/extsalt/.local/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 784, in extract_info
ie_result = ie.extract(url)
File "/home/extsalt/.local/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 436, in extract
self.initialize()
File "/home/extsalt/.local/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 394, in initialize
self._real_initialize()
File "/home/extsalt/.local/lib/python2.7/site-packages/youtube_dl/extractor/udemy.py", line 140, in _real_initialize
self._login()
File "/home/extsalt/.local/lib/python2.7/site-packages/youtube_dl/extractor/udemy.py", line 180, in _login
raise ExtractorError('Unable to log in')
ExtractorError: Unable to log in; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
The text was updated successfully, but these errors were encountered: