Can someone help me get the m3u8 file for this live video link?
https://player.restream.io/?token=2c8a9196085b4e1c9c25450451f55bd8&vwrs=1
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 1 to 6 of 6
-
-
mpd have better bitrate..
[Attachment 73588 - Click to enlarge]
Code:import requests import re print('test link: https://player.restream.io/?token=2c8a9196085b4e1c9c25450451f55bd8&vwrs=1\n') link = input('link: ') link_id = re.findall(r'token=(.*)&', link)[0].strip() headers = { 'authority': 'player-backend.restream.io', 'content-type': 'application/json', 'origin': 'https://player.restream.io', 'player-version': '0.9.2', 'referer': 'https://player.restream.io/', 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36', } params = { 'instant': 'true', } response = requests.get('https://player-backend.restream.io/public/videos/'+link_id+'', params=params, headers=headers).json() videoUrlDash = response['videoUrlDash'] print(f'\nmpd link: \n{videoUrlDash}') videoUrlHls = response['videoUrlHls'] print(f'\nm3u8 link: \n{videoUrlHls}')
-
There is no permanent m3u8
In post #2 sk8ordi3 wrote quite the exquisite piece of coding in order to help you.
Why not consider using it. At least study what was written.
Manual way
In dev tools filter on 2c8a9196085b4e1c9c25450451f55bd8?instant=true
Look at the response for videoUrlHls <== this response is what you are after
"videoUrlHls": "https://customer-gllhkkbamkskdl1p.cloudflarest..................... ..
You were not given a fish but instead a rod and hook to catch the fish. But, alas, you had no idea as to how to use the tools. -
use this code to play your video
Code:curl -ks "https://player-backend.restream.io/public/videos/2c8a9196085b4e1c9c25450451f55bd8?instant=true" | jq -r .videoUrl | xargs mpv
jq xargs and mpv are all free programs
Similar Threads
-
How to merge video m3u8 url and audio m3u8 url live channel
By sairaj in forum DVB / IPTVReplies: 2Last Post: 3rd Jul 2023, 06:29 -
Way to get the m3u8 link for the NBC live stream from command line? (USA)
By Prairie Dog in forum LinuxReplies: 7Last Post: 13th Nov 2022, 06:09 -
How to fix the download failure with yt-dlp command for some live M3U8 link
By zydjohn in forum Video Streaming DownloadingReplies: 12Last Post: 26th Nov 2021, 14:35 -
How to download certain time (number of seconds) live M3U8 link and save?
By zydjohn in forum Video Streaming DownloadingReplies: 3Last Post: 9th Nov 2021, 16:16 -
Streaming mp4 File live in m3u8 playlist
By thegeek in forum Video Streaming DownloadingReplies: 1Last Post: 9th Oct 2021, 08:04