VideoHelp Forum




+ Reply to Thread
Results 1 to 21 of 21
  1. 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
    Quote Quote  
  2. 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
    
    ........
    second way: more easy to do
    use Video DownloadHelper ext (direct download also trough browser)
    Quote Quote  
  3. why mpd is forbidden? i have try to add referer and cookie but always forbidden ...

    how to download from mpd and yt-dlp??
    Quote Quote  
  4. 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.
    Quote Quote  
  5. for me streamlink too is forbiddend: i have get fresh mpd, copy and paste your string above with fresh mpd but always forbidden ...
    Quote Quote  
  6. 'The value of the 'Token' is one -time'.
    Quote Quote  
  7. Originally Posted by LZAA View Post
    'The value of the 'Token' is one -time'
    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

    Image
    [Attachment 65223 - Click to enlarge]
    Quote Quote  
  8. 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)
    Quote Quote  
  9. 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
    Quote Quote  
  10. 'The value of the 'Token' is one -time'.
    Quote Quote  
  11. Originally Posted by lomero View Post
    first way: search m3u8 plist, then download with yt-dlp
    Could you please explain how to obtain playlist.m3u8 link ?

    I didn't find anything in developer tools.
    Last edited by mister_ nex; 6th Jun 2022 at 13:55.
    Quote Quote  
  12. Originally Posted by mister_ nex View Post
    I didn't find anything in developer tools.
    Network tab of developer tools.
    Do a refresh or open developer tools before loading the page/video.
    If it still doesn't work, post a screenshot of your network tab in developer tools or better yet, record a video of you trying and not finding it.
    click click2
    If I/my posts ever helped you, and you want to give back, send me a private message!
    Quote Quote  
  13. Developer tools
    Image
    [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
    Image
    [Attachment 65237 - Click to enlarge]
    Last edited by mister_ nex; 6th Jun 2022 at 19:50.
    Quote Quote  
  14. your ext download only the introductory video, not all chapters
    Quote Quote  
  15. 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
    Quote Quote  
  16. Originally Posted by whs912km View Post
    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
    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.
    Quote Quote  
  17. @ElCap, thanks for sharing from your vault of incredible knowledge.
    Quote Quote  
  18. yes, thanks ElCap for your explanation
    Quote Quote  
  19. Originally Posted by ElCap View Post

    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.
    Thank you for the solution @ElCap It helped me really.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!