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

Pluralsight - HTTP Error 403: Forbidden #23196

Closed
frank-cyber opened this issue Nov 24, 2019 · 1 comment
Closed

Pluralsight - HTTP Error 403: Forbidden #23196

frank-cyber opened this issue Nov 24, 2019 · 1 comment

Comments

@frank-cyber
Copy link

@frank-cyber frank-cyber commented Nov 24, 2019

Checklist

  • I'm asking a question
  • I've looked through the README and FAQ for similar questions
  • I've searched the bugtracker for similar questions including closed ones

Question

Was playing with the youtube-dl version 2019.11.22 and when trying to download a course from Pluralsight I see the following error:

[pluralsight:course] project-2016-business-professionals: Downloading JSON metadata
[download] Downloading playlist: Project 2016 for Business Professionals
[pluralsight:course] playlist Project 2016 for Business Professionals: Collected 50 video ids (downloading 50 of them)
[download] Downloading video 1 of 50
[pluralsight] Downloading login page
[pluralsight] Logging in
ERROR: Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 627, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2237, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

-- My command line arguments are the following:

-u [I HAVE A VALID USER]
-p [VALID PASSWORD]
-i
-c
--no-warnings
--console-title
--batch-file='batch-file.txt'
--max-sleep-interval 120
--min-sleep-interval 60
-o '%(playlist_title)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s-%(title)s.%(ext)s'
-f 'best[height<=720]/worst[height>720]'

@frank-cyber
Copy link
Author

@frank-cyber frank-cyber commented Nov 24, 2019

I've seen duplicate issues but they are all closed with NO solution, plus the authentication is working. If the error handler would print the URL that is returning the 403 then it would make the troubleshooting a lot easier. It just prints a 403 with no context...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.