Hello,
I need a curl command to extract m3u8 URL from below website:
https://rotana.net/en/channels?tz=-180/channels#/live/rotana_Clip
The resulting URL will be something like this:
https://rotananet.hibridcdn.net/rotana/clip_abr/rotana/clip_720p/chunks.m3u8?p=48&s=17...6ebf28a104f83f
Please note that the parameters "e", "s", "cf" and "h" will change on each page reload.
Thanks in advance.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.
+ Reply to Thread
Results 1 to 3 of 3
Thread
-
-
Curl bash
Code:id="rotana_Clip"; curl -s "https://rotana.net/en/channels?tz=-180/channels#/live/$id" | grep -oE "<[^>]* id=\"$id\"[^>]*https?://[^'\'']*" | grep -oE 'https?://[^'\''"]+' | xargs -I {} curl -s "{}?_=$(date +%s)" | grep -oP "(?<=o=\[)[^\]]+(?=])" | tr -d "'," | base64 -d | grep -o '"streamUrl":\s*"[^"]*"' | awk -F '"' '{print $4}'
Code:https://hiplayer.hibridcdn.net/p/rotana-clip?p=48&s=1708628259&e=1708714659&cf=1708714659&h=160e4e940d53bcff6abff6d484fcf7b4
Code:id="rotana_Clip"; curl -s "https://rotana.net/en/channels?tz=-180/channels#/live/$id" | grep -oE "<[^>]* id=\"$id\"[^>]*https?://[^'\'']*" | grep -oE 'https?://[^'\''"]+' | xargs -I {} curl -s "{}?_=$(date +%s)" | grep -oP "(?<=o=\[)[^\]]+(?=])" | tr -d "'," | base64 -d | grep -o '"streamUrl":\s*"[^"]*"' | awk -F '"' '{print $4}' | xargs -I {} curl -s {} | grep -oE 'https?://[^ ]*' | tail -1
Code:https://rotananet.hibridcdn.net/rotana/clip_abr/rotana/clip_1080p/chunks.m3u8?p=48&s=1708628259&e=1708714659&cf=1708714659&h=160e4e940d53bcff6abff6d484fcf7b4
Last edited by 2nHxWW6GkN1l916N3ayz8HQoi; 22nd Feb 2024 at 13:09.
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
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 -
Need curl command to extract m3u8 from live TV website
By tonygables in forum Video Streaming DownloadingReplies: 5Last Post: 25th Apr 2023, 05:10 -
How to automatically extract the m3u8 stream URL from this site?
By BosseB in forum Video Streaming DownloadingReplies: 23Last Post: 7th Feb 2023, 20:13 -
How to automatically extract m3u8 URL from this streaming site?
By BosseB in forum Video Streaming DownloadingReplies: 12Last Post: 10th Oct 2022, 07:10 -
How to extract and use an m3u8 URL to download from a 24/7 stream?
By BosseB in forum Video Streaming DownloadingReplies: 28Last Post: 1st Feb 2022, 07:57