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.
Unable to download webpage: HTTP Error 403: Forbidden #25079
Comments
|
Have you read this? |
|
thx, just tried with --rm-cache-dir the the same error: d:\Alex\DownloadVideo>youtube-dl --username "user" --password "pass" --verbose --sleep-interval 120 --rm-cache-dir "https://app.pluralsight.com/library/courses/microsoft-azure-microsoft-graph-app-service-integrating/" |
|
YTDL version: 2020.03.24 Tried with referer header, min/max sleep interval and that doesn't work either.
Error as shown below:
|
|
@munim it started working absolutely fine on my end after the user agent change. So if Chrome doesn't work, try some other ua. overall this software is very quirky, so I'm sure it leaves a lot of traces for the video service to track. There may be other inconsistencies in it that I'm not aware of. I've been trying to coax it to work for just a few days so far. |
|
Chrome is not working, with IE11 ua is fine. Thanks a lot. |
|
@kuralex1 I tested it some more yesterday and there's a combination of the user agent, IP address and your downloading pattern that can cause this 403 error. For instance I was struggling to set a proper interval between videos. The software is configured in a very weird way. It downloads the meta data for a video and then the waiting period, that is defined by Plus there's no way to specify the pause between courses. Say if the pause between videos is 2-4 min, it'd be wise to have an option to specify a pause between courses, say 10-15 min or so. Or, ideally to base the pause between videos based on its play duration of the previous video. In other words it's all doable. I think I will write my own script for it though. I tried posting all this here and there's some hotshot that closes issues without even considering them. Pretty fucked up in my view. |
can you show me the commands how can u entered |
Got the following error:
youtube-dl --username "user" --password "pass" --verbose --sleep-interval 120 "https://app.pluralsight.com/library/courses/microsoft-azure-microsoft-graph-app-service-integrating/"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--username', 'PRIVATE', '--password', 'PRIVATE', '--verbose', '--sleep-interval', '120', 'https://app.pluralsight.com/library/courses/microsoft-azure-microsoft-graph-app-service-integrating/']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2020.03.24
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: none
[debug] Proxy map: {}
[pluralsight:course] microsoft-azure-microsoft-graph-app-service-integrating: Downloading JSON metadata
[download] Downloading playlist: Microsoft Azure Developer: Integrating an App or Service with Microsoft Graph
[pluralsight:course] playlist Microsoft Azure Developer: Integrating an App or Service with Microsoft Graph: Collected 13 video ids (downloading 13 of them)
[download] Downloading video 1 of 13
[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\tmpjwbwqymm\build\youtube_dl\extractor\common.py", line 627, in _request_webpage
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpjwbwqymm\build\youtube_dl\YoutubeDL.py", line 2238, 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