question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Pluralsight] Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError())

See original GitHub issue

Checklist

  • [ x] I’m reporting a broken site support issue
  • [ x] I’ve verified that I’m running youtube-dl version 2021.06.06
  • [ x] I’ve checked that all provided URLs are alive and playable in a browser
  • [ x] I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
  • [ x] I’ve searched the bugtracker for similar bug reports including closed ones
  • [ x] I’ve read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--username', 'PRIVATE', '--password', 'PRIVATE', 'https://app.pluralsight.com/library/courses/48cc2615-745c-4dde-bcff-36d49dfeeb24', '-o', 'C:/Users/asalinas/Videos/Pluralsight/%(playlist)s/%(chapter_number)02d - %(chapter)s/%(playlist_index)02d - %(title)s.%(ext)s', '--sleep-interval', '35', '--max-sleep-interval', '120', '--sub-lang', 'en', '--sub-format', 'srt', '--write-sub', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17763
[debug] exe versions: none
[debug] Proxy map: {}
[pluralsight:course] 48cc2615-745c-4dde-bcff-36d49dfeeb24: Downloading JSON metadata
[download] Downloading playlist: Essential Google Cloud Infrastructure: Foundation
[pluralsight:course] playlist Essential Google Cloud Infrastructure: Foundation: Collected 51 video ids (downloading 51 of them)
[download] Downloading video 1 of 51
[pluralsight] Downloading login page
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 "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpkqxnwl31\build\youtube_dl\extractor\common.py", line 634, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpkqxnwl31\build\youtube_dl\YoutubeDL.py", line 2288, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default

Description

Trying to download videos from Pluralsight.com. This requires username and password that will not be posted here but I can provide if required. Please request credentials privately for testing or troubleshooting and I can provide. Followed instructions according to the following page: https://gist.github.com/ivanskodje/5bd8697a64e9879f397f7ef161cf0956

What the problem is

  • Videos doesn’t download properly How it could be fixed
  • Not sure How your proposed solution would look like
  • Videos downloading properly

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
dirkfcommented, Jan 20, 2022

Try adding a specific UA parameter to the yt-dl command line (Windows: make the quotes ‘’ double “”):

--user-agent 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36'

However if you should succeed your account will be banned, according to commenters in OP’s linked Gist. Also, according to #28712, the extractor hasn’t been working even after its most recent commit: perhaps it should be marked as not _WORKING.

0reactions
vlaziccommented, Jan 20, 2022

It doesn’t work with the --cookies flag either. Only the first video is downloaded and I for other videos I get a 403 error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to download webpage: HTTP Error 403: Forbidden ...
PluralSight ERROR : Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); #26331.
Read more >
Errors when trying to access Pluralsight
403: Forbidden: access is denied. You are receiving this error because your account triggered a high volume of activity and was blocked by...
Read more >
Downloading from Pluralsight receiving 403 and 404 errors
Greetings all, I am having issues downloading from Pluralsight, ... ERROR: Unable to download webpage: HTTP Error 403: Forbidden (caused by ...
Read more >
Unable to download JSON metadata: HTTP Error 403
Unable to download JSON metadata: HTTP Error 403: Forbidden. What is the problem ? I Used last version of Youtube-dl
Read more >
youtube-dl - HTTP Error 403
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...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found