Skip to content
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

ERROR: Unable to download webpage: HTTP Error 403: #15371

Closed
imthecapedbaldy opened this issue Jan 20, 2018 · 8 comments
Closed

ERROR: Unable to download webpage: HTTP Error 403: #15371

imthecapedbaldy opened this issue Jan 20, 2018 · 8 comments

Comments

@imthecapedbaldy
Copy link

@imthecapedbaldy imthecapedbaldy commented Jan 20, 2018

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.01.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • [x ] I've verified and I assure that I'm running youtube-dl 2018.01.18

Before submitting an issue make sure you have:

  • [x ] At least skimmed through the README, most notably the FAQ and BUGS sections
  • [x ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • [x ] Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

PS C:\Users\Rasheed\Desktop\udemy java master class> youtube-dl --verbose -u **************@gmail.com -p ******** https://www.udemy.com/java-the-complete-java-developer-cours/learn/v4/content
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '-u', 'PRIVATE', '-p', 'PRIVATE', 'https://www.udemy.com/java-the-complete-java-developer-course/learn/v4/content']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2018.01.18
[debug] Python version 3.6.4 (CPython) - Windows-10-10.0.16299-SP0
[debug] exe versions: none
[debug] Proxy map: {}
[udemy:course] Downloading login popup
ERROR: Unable to download webpage: HTTP Error 403: Unauthorized (caused by <HTTPError 403: 'Unauthorized'>); 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.
  File "c:\users\rasheed\appdata\local\programs\python\python36-32\lib\site-packages\youtube_dl\extractor\common.py", line 517, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "c:\users\rasheed\appdata\local\programs\python\python36-32\lib\site-packages\youtube_dl\YoutubeDL.py", line 2198, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "c:\users\rasheed\appdata\local\programs\python\python36-32\lib\urllib\request.py", line 532, in open
    response = meth(req, response)
  File "c:\users\rasheed\appdata\local\programs\python\python36-32\lib\urllib\request.py", line 642, in http_response
    'http', request, response, code, msg, hdrs)
  File "c:\users\rasheed\appdata\local\programs\python\python36-32\lib\urllib\request.py", line 570, in error
    return self._call_chain(*args)
  File "c:\users\rasheed\appdata\local\programs\python\python36-32\lib\urllib\request.py", line 504, in _call_chain
    result = func(*args)
  File "c:\users\rasheed\appdata\local\programs\python\python36-32\lib\urllib\request.py", line 650, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

Description of your issue, suggested solution and other information

Yes, I have an account and it's working. I've logged in over and over and over again using the same username/email and password. Yes, I just purchased this course literally a few hours ago. Was able to download up until video 226 out of 309. At video 227, this error occurred:

[download] Downloading video 226 of 309
[udemy] 5568206: Downloading webpage
[udemy] 5568206: Downloading lecture JSON
[udemy] 10423176: Downloading m3u8 information
[download] Destination: Data Binding-10423176.mp4
[download] 100% of 17.07MiB in 00:08
[download] Downloading video 227 of 309
[udemy] 5568208: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 403: Unauthorized (caused by <HTTPError 403: 'Unauthorized'>); 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.

Recreated error by executing exactly same command as used above. Changed nothing. I can still log into the my account and view the course videos. I can watch the current video that was not downloaded. No, it was not being updated as I have seen from other posts.

Notes:

  • I used python to install youtube-dl. Tried updating it with python.
  • I've tried this over and over, same error.
@imthecapedbaldy
Copy link
Author

@imthecapedbaldy imthecapedbaldy commented Jan 20, 2018

Downloading videos from Udemy course. Again, I'm absolutely positive that I:

  • youtube-dl is 2018.01.18
  • udemy account exists and 100% accessible
  • username and password is 100% correct
  • have bought it. already watched some vids.
  • is absolute accessible. I previewed a lot of videos before and after this error.
  • recreated error multiple times (all the time since it happened)
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 20, 2018

You must provide account credentials for any further investigations.

@imthecapedbaldy
Copy link
Author

@imthecapedbaldy imthecapedbaldy commented Jan 20, 2018

what account credentials? my username and password for udemy?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 20, 2018

Udemy account credentials that reproduce this issue.

@imthecapedbaldy
Copy link
Author

@imthecapedbaldy imthecapedbaldy commented Jan 20, 2018

i'm going to have to leave my email and udemy password here out in the open??

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 20, 2018

No, send by mail in my profile.

@imthecapedbaldy
Copy link
Author

@imthecapedbaldy imthecapedbaldy commented Jan 20, 2018

This is very strange. Absolutely strange. I was about to email you. I first changed my udemy password. Then i thought "hey this sounds stupid but hey it just might work if i try to execute it again with my new password. #stupidProgrammerLogic"
I changed absolutely no syntax. Just the password. NO SYNTAX WAS CHANGED. It's downloading again now. No error. But it's going over the ones downloaded first (before 227 where the error occurred). Will update if error re occurs in a few moments, Download speeds not so fast here in my country sorry. I implore you for your patience.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 20, 2018

Most likely this was caused due to a server side issue or some overuse protection. Definitely not due to characters used in a password.

@ytdl-org ytdl-org locked and limited conversation to collaborators Jan 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.