Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Pluralsight - HTTP Error 403: Forbidden #23196
Comments
|
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... |
Checklist
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]'