VideoHelp Forum

+ Reply to Thread
Results 1 to 16 of 16
Thread
  1. I can't crack using YDL, youtube-dl or other downloaders I just don't know how to do this and have been trying for over 6 hours.

    I have SlingTV with all the add-on packages and can easily watch every event on the NBC Olympics website, but when it comes to downloading it I am useless, I would really appreciate anyone walking or showing me how to download one of these event replays in the highest possible quality available.

    an example of the video I am trying to download
    https://stream.nbcolympics.com/track-and-field-session-8-integrated-feed

    Image
    [Attachment 60170 - Click to enlarge]


    I just don't know how to use YDL or youtube-dl now that I have that url above, It's hard to find a tutorial on what to do next, but It would mean the world to me if someone can just spend 5 mins to show me what to do
    Quote Quote  
  2. Send login info (user/pass) via private message so I can access and I'll show you .
    Quote Quote  
  3. Try with Streamlink

    Code:
    streamlink --http-header "User-Agent=Your User Agent" --http-header "Referer=https://stream.nbcolympics.com/" --http-query-param "hdnts=See Screenshot" ".m3u8 link" best -o video.ts
    Image
    [Attachment 60233 - Click to enlarge]
    Quote Quote  
  4. Originally Posted by lfer94 View Post
    Try with Streamlink

    Code:
    streamlink --http-header "User-Agent=Your User Agent" --http-header "Referer=https://stream.nbcolympics.com/" --http-query-param "hdnts=See Screenshot" ".m3u8 link" best -o video.ts
    Image
    [Attachment 60233 - Click to enlarge]

    So I need to Paste that command above into Streamlink ?

    How do I use Streamlink ?
    Quote Quote  
  5. Originally Posted by RajaBell View Post
    So I need to Paste that command above into Streamlink ?
    Yes


    Originally Posted by RajaBell View Post
    How do I use Streamlink ?
    Download and install it like any other software. Then go to any folder, press shift + right click, click "Open PowerShell window here", paste the command and press "Enter"
    Quote Quote  
  6. Originally Posted by lfer94 View Post
    Originally Posted by RajaBell View Post
    So I need to Paste that command above into Streamlink ?
    Yes


    Originally Posted by RajaBell View Post
    How do I use Streamlink ?
    Download and install it like any other software. Then go to any folder, press shift + right click, click "Open PowerShell window here", paste the command and press "Enter"
    Okay so got streamlink, got my VPN and also got CMD open ready, how do I enter this video link to download it ?

    https://stream.nbcolympics.com/track-and-field-session-10-mens-triple-jump-qualifying

    Would you be able to write me out the command to enter into CMD to get that video above please ?

    I will give you my SlingTV details if needed (SlingTV is any other TV Provider is needed to be able to watch through the NBCOlympics Website)
    Quote Quote  
  7. Originally Posted by RajaBell View Post

    Okay so got streamlink, got my VPN and also got CMD open ready, how do I enter this video link to download it ?

    https://stream.nbcolympics.com/track-and-field-session-10-mens-triple-jump-qualifying
    Press F12 before playing the video to open Developers Tools, then click on Network panel, type "m3u8" into the filter imput box (as shown on the screenshot above), and copy the first "master_vod.m3u8" link.

    Originally Posted by RajaBell View Post
    Would you be able to write me out the command to enter into CMD to get that video above please ?
    I could do it, but you would get an error. You must do it by yourself.



    Just copy this in notepad and replace what's in red with what you find in the developer tools

    Code:
    streamlink --http-header "User-Agent=xxx" --http-header "Referer=https://stream.nbcolympics.com/" --http-query-param "hdnts=xxx" ".m3u8 link" best -o video.ts
    That's what you must to copy and paste in notepad (where it corresponds)

    Image
    [Attachment 60234 - Click to enlarge]
    Last edited by lfer94; 8th Aug 2021 at 04:13.
    Quote Quote  
  8. It should look like this:
    Code:
    streamlink --http-header "User-Agent=Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36" --http-header "Referer=https://www.directvsports.com/" --http-query-param "hdnts=exp=1628413746~acl=*~hmac=d9a9d189767b09be1078665a4627473a9a04d7064c2d08aafc369a9d2d86532e" "https://directvsports-live.akamaized.net/hls/live/2026679/DTVSPAN/stream05/hdntl=exp=1628500092~acl=%2f*~data=hdntl~hmac=e9d89268f0f5644fbd9d5e7db242dc43ecbcf565c93c0d735e7d29082f6e1532/streamPlaylist-archive.m3u8?startTime=1628096100&endTime=1628103600" best -o video.ts
    Last edited by lfer94; 8th Aug 2021 at 06:46.
    Quote Quote  
  9. Originally Posted by lfer94 View Post
    ...
    Appreciate the help a lot
    Quote Quote  
  10. Originally Posted by RajaBell View Post
    Originally Posted by lfer94 View Post
    ...
    Appreciate the help a lot
    Restored


    PS: The help I gave you above was more than enough to you be able to download those videos
    Last edited by lfer94; 8th Aug 2021 at 06:41.
    Quote Quote  
  11. lfer94 Thanks for your post, this is great. But I'm having a problem. Maybe you can help me?


    I tried your method, and on some videos it works and some others it doesnt. I'll explain.

    I watch the replays on nbcolympics without logging in (no cable service). Watching this way give me a 30 minute time limit to watch a video. Then I have to empty browser cache and restart the browser to watch another 30 minutes. The video RajaBell posted is like this. Has 30 minute limit. But for example this video has no time limit.

    The one that has no time limit also has no hdnts parameters and I can download it just fine. However any video that has hdnts info and I enter it as you explained doesnt work. I get the "forbidden" error from streamlink.

    Could you give it a try again and see of its working for you? because it sure isn't working for me.

    I found another way to download these expiring videos but I run into another problem. The solution I found is to use the address of VIDEO_0_6569000_vod.m3u8 file which looks like this:
    https://sprtlive28.akamaized.net/hls/live/586446/NBCOlympics0c1a4751/clear-1/exp=16323...96000_vod.m3u8

    And to use the syntax of:
    Code:
    streamlink "above URL" best -o xxx.ts
    This is able to fetch the video and starts downloading. However to download most videos takes more than half an hour and the server might cut me off.

    So do you have any solution?

    If I could restart downloading from the middle of the video then it would help. But I don't know how. This way I could download the first half, and then start a second stream and download the second half by dictating a start time. Is there such a parameter?


    Would appreciate your help man.
    Last edited by Countermeasure; 21st Sep 2021 at 15:09.
    Quote Quote  
  12. Ok, I was reading the documentation on streamlink and found this parameter:

    https://streamlink.github.io/cli.html

    --hls-start-offset [HH:]MM:SS

    Amount of time to skip from the beginning of the stream. For live streams, this is a negative offset from the end of the stream (rewind).
    Default is: 00:00:00.



    I'm about to tinker with it see if I can get that to work. Not sure abut the syntax, whether I should write as "00:00:00" or "[00:]00:00". But gonna test and see.

    I also wonder if its possible to simply add parameters at the end of the m3u8 url and get the server to simply send the right data. Maybe you guys can shine some light on that. I don't know the syntax to try it.


    ***EDIT: Ok I tested with "00:00:00" format and its working! I can start from an offset. So I've solved my problem. Sorry to trouble you guys and thanks for this forum and your support.
    Last edited by Countermeasure; 21st Sep 2021 at 18:09.
    Quote Quote  
  13. Originally Posted by Countermeasure View Post
    The one that has no time limit also has no hdnts parameters and I can download it just fine. However any video that has hdnts info and I enter it as you explained doesnt work. I get the "forbidden" error from streamlink.

    Could you give it a try again and see of its working for you? because it sure isn't working for me.
    I can't play the video that Raja Bell posted, so I can't test it. If you post here all the request headers for any video with hdnts info, maybe I could help you.

    Originally Posted by Countermeasure View Post

    I found another way to download these expiring videos but I run into another problem. The solution I found is to use the address of VIDEO_0_6569000_vod.m3u8 file which looks like this:
    https://sprtlive28.akamaized.net/hls/live/586446/NBCOlympics0c1a4751/clear-1/exp=16323...96000_vod.m3u8

    And to use the syntax of:
    Code:
    streamlink "above URL" best -o xxx.ts
    This is able to fetch the video and starts downloading. However to download most videos takes more than half an hour and the server might cut me off.

    So do you have any solution?
    You can increase the download speed adding --stream-segment-threads 10

    Code:
    streamlink --stream-segment-threads 10 "URL" best -o xxx.ts
    Originally Posted by Countermeasure View Post
    If I could restart downloading from the middle of the video then it would help. But I don't know how. This way I could download the first half, and then start a second stream and download the second half by dictating a start time. Is there such a parameter?
    Yes. This will start the download after the first 30 minutes.

    Code:
    streamlink --stream-segment-threads 10 --hls-start-offset 00:30:00 "URL" best -o xxx.ts
    You also can set the duration adding --hls-duration 00:00:00

    Code:
    streamlink --stream-segment-threads 10 --hls-start-offset 00:30:00 --hls-duration 00:30:00 "URL" best -o xxx.ts
    Originally Posted by Countermeasure View Post
    I also wonder if its possible to simply add parameters at the end of the m3u8 url and get the server to simply send the right data. Maybe you guys can shine some light on that. I don't know the syntax to try it.
    I never tested it so I'm not sure if it would work.
    Last edited by lfer94; 21st Sep 2021 at 18:10.
    Quote Quote  
  14. Hey thanks lfer. Much appreciated

    If you post here all the request headers for any video with hdnts info, maybe I could help you.
    Thanks mate, but its not necessary. Its working quite ok now. Actually better than I thought possible.
    Quote Quote  



Similar Threads