I have tried to download this video and keep getting the error "Unable to download webpage: HTTP Error 403: Forbidden."
Here is the video. The one playing on the page is available whether you login or not.
link
+ Reply to Thread
Results 1 to 21 of 21
-
-
first way: search m3u8 plist, then download with yt-dlp
Code:EP01 yt-dlp "https://58e66dfe766e7.streamlock.net/proprep/27798/playlist.m3u8?tID=485803&videoView=1&accessToken=f7d9d06c7f1048798d0f10e189bf4a6e" -o video.mp4 EP02 https://58e66dfe766e7.streamlock.net/proprep/27799/playlist.m3u8?tID=485803&videoView=1&accessToken=07e7cf3311414e1d91904b3c47e7f129 EP03 https://58e66dfe766e7.streamlock.net/proprep/27792/playlist.m3u8?tID=485803&videoView=1&accessToken=689a7946c6944a8b902fdd3b8d912b43 EP04 https://58e66dfe766e7.streamlock.net/proprep/27794/playlist.m3u8?tID=485803&videoView=1&accessToken=599af697aec84cceba37d3e7435e8532 ........
use Video DownloadHelper ext (direct download also trough browser) -
streamlink "https://58e66dfe766e7.streamlock.net/proprep/27798/manifest.mpd?tID=485803&videoView=1&accessToken=91 780fac5e454313a5232ccd998ffe79" best -o video.ts
[cli][info] Found matching plugin dash for URL https://58e66dfe766e7.streamlock.net/proprep/27798/manifest.mpd?tID=485803&videoView=1...232ccd998ffe79
[cli][info] Available streams: 390k (worst, best)
[cli][info] Opening stream: 390k (dash)
[cli][info] Writing output to
video.ts
[utils.named_pipe][info] Creating pipe streamlinkpipe-7112-1-4139
[utils.named_pipe][info] Creating pipe streamlinkpipe-7112-2-8520
[download][a.ts] Written 3.4 MB (2s @ 1.2 MB/s)
[cli][info] Stream ended
[cli][info] Closing currently open stream...
The value of the 'Token' is one -time. -
for me streamlink too is forbiddend: i have get fresh mpd, copy and paste your string above with fresh mpd but always forbidden ...
-
again ... yes, i know. but i have play video, found a new mpd, with fresh token, and used: streamlink "https://fresh-mpd" best -o video.ts
and it is forbidden. for me
[Attachment 65223 - Click to enlarge] -
You do not understand
Step 1.
streamlink "https://58e66dfe766e7.streamlock.net/proprep/27798/manifest.mpd?tID=485803&videoView=1&accessToken=16 8b3a67269043c09987ecce659302b1" best -o video.ts
[cli][info] Found matching plugin dash for URL https://58e66dfe766e7.streamlock.net/proprep/27798/manifest.mpd?tID=485803&videoView=1...87ecce659302b1
[cli][info] Available streams: 390k (worst, best)
[cli][info] Opening stream: 390k (dash)
[cli][info] Writing output to
video.ts
[utils.named_pipe][info] Creating pipe streamlinkpipe-5160-1-2548
[utils.named_pipe][info] Creating pipe streamlinkpipe-5160-2-8430
[download][video.ts] Written 3.4 MB (2s @ 1.2 MB/s)
[cli][info] Stream ended
[cli][info] Closing currently open stream...
Step 2.
streamlink "https://58e66dfe766e7.streamlock.net/proprep/27798/manifest.mpd?tID=485803&videoView=1&accessToken=16 8b3a67269043c09987ecce659302b1" best -o video.ts
[cli][info] Found matching plugin dash for URL https://58e66dfe766e7.streamlock.net/proprep/27798/manifest.mpd?tID=485803&videoView=1...87ecce659302b1
error: Unable to open URL: https://58e66dfe766e7.streamlock.net/proprep/27798/manifest.mpd?tID=485803&videoView=1...87ecce659302b1 (403 Client Error: Forbidden for url: https://58e66dfe766e7.streamlock.net/proprep/27798/manifest.mpd?tID=485803&videoView=1...87ecce659302b1) -
yes, really i don't understand ...
i have update to latest version of streamlink but i have same behavior at Step 2: Forbidden
what changes from Step 1 and Step 2?? same string ... i load video page, can't play video, rip mpd and put fast on streamlink. and always Forbidden
at first attempt, not on the second attempt -
Last edited by mister_ nex; 6th Jun 2022 at 13:55.
-
-
Developer tools
[Attachment 65235 - Click to enlarge]
Here only mpd. Maybe somewhere hidden m3u8 link ? Just curious.
-----
Also extention "Live Stream Downloader" downloads from another link [url]https://www.proprep.com/Content/Videos/HowItWorks.mp4
[Attachment 65237 - Click to enlarge]Last edited by mister_ nex; 6th Jun 2022 at 19:50.
-
figured out with m3u8 links
Code:yt-dlp --referer="https://www.proprep.com/" "https://58e66dfe766e7.streamlock.net/proprep/27799/playlist.m3u8?tID=485803&videoView=1&accessToken=7ae676f99b2349f4b965a786463af937" -o "What is CNC Milling.mp4" [generic] playlist: Requesting header [generic] playlist: Downloading m3u8 information [info] playlist: Downloading 1 format(s): 37812 [hlsnative] Downloading m3u8 manifest [hlsnative] Total fragments: 6 [download] Destination: What is CNC Milling.mp4 [download] 100% of 69.06MiB
-
the browser is requesting the mpd therefore using the one time token, so when you copy and paste into cmd its the second request.
in browser dev tools > network tab - right click on the mpd request and choose "block request domain" (chrome)
reload the page and in the network tab find the mpd request again. it should be the colour red as it is blocked by the browser. copy that link and use it with streamlink and it should be successful.
the other option is to generate a new token with the request to this url "https://www.proprep.com/api/Tokens/Add" but the above way is simpler. -
Similar Threads
-
403 Forbidden Error from yt-dlp on mpd file download?
By influx in forum Video Streaming DownloadingReplies: 12Last Post: 5th Oct 2021, 14:48 -
Tryng to download from animal planet... HTTP error 403 Forbidden
By syrist in forum Video Streaming DownloadingReplies: 3Last Post: 15th May 2020, 19:38 -
download afreecatv steaming with ffmpeg get HTTP error 403 Forbidden
By j2ee in forum Video Streaming DownloadingReplies: 1Last Post: 30th Apr 2020, 09:13 -
403 Forbidden error
By Skoosh in forum Video Streaming DownloadingReplies: 2Last Post: 15th Nov 2018, 11:02 -
Youtube-dl HTTP Error 403: Forbidden
By FernandaLobo in forum Newbie / General discussionsReplies: 13Last Post: 5th Jun 2018, 13:20