Hi, I need Python script to get m3u8 on this Site: https://www.canlitv.me/show-tv-canli-yayin-hd
Thanks advance
+ Reply to Thread
Results 1 to 7 of 7
-
-
N_m3u8DL-RE do the job for your live streaming
Example for 2 minutes recording
Code:N_m3u8DL-RE "https://cdn2.alfastreamtv.com/showtv.m3u8?tkn=BRtvzh4rHjYwmhobnpAVNw&tms=1694808501&hst=www.canlitv.me&ip=2a01:cb00:442:ec00:dc1b:9f6b:b783:3d" --live-record-limit 00:02:00 --live-real-time-merge -M format=mp4
-
QUOTE=cedric8528;2705887]N_m3u8DL-RE do the job for your live streaming
Example for 2 minutes recording
Code:N_m3u8DL-RE "https://cdn2.alfastreamtv.com/showtv.m3u8?tkn=BRtvzh4rHjYwmhobnpAVNw&tms=1694808501&hst=www.canlitv.me&ip=2a01:cb00:442:ec00:dc1b:9f6b:b783:3d" --live-record-limit 00:02:00 --live-real-time-merge -M format=mp4
Thanks! but i need like this script:
Code:import requests import re headers = { 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8', 'Connection': 'keep-alive', 'Referer': 'https://nova.bg/', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36', } resp = requests.get('https://nova.bg/live', headers=headers).text live_url_id = re.findall(r'<iframe.*live/(.*?)\"', resp)[0].strip() l_url = f'https://i.cdn.bg/live/{live_url_id}' resp2 = requests.get(l_url, headers=headers).text src_p1 = re.findall(r'<source src=\"//(.*?)\"', resp2)[0].strip() m3u8_link = f'https://{src_p1}' print(m3u8_link)
-
If you are interested in showtv only, then it might be better to try and download videos directly from their official website
https://www.showtv.com.tr/
IDM seems to work well -
Similar Threads
-
correct my python script downloader
By swappyison in forum Video Streaming DownloadingReplies: 30Last Post: 6th Aug 2024, 17:33 -
need a python script that can automate the process
By swappyison in forum Video Streaming DownloadingReplies: 0Last Post: 2nd Aug 2023, 10:11 -
please python script for m3u8
By kayrak in forum Video Streaming DownloadingReplies: 2Last Post: 26th Jun 2023, 08:26 -
anyone know if the following python script work ?
By DRMdec in forum Video Streaming DownloadingReplies: 2Last Post: 21st Feb 2023, 19:02 -
Help Needed With Python ffprobe Script
By chris319 in forum ProgrammingReplies: 11Last Post: 28th Jun 2019, 10:15