Hi Forum,
I need help (python scrypt) to get strem link from the site https://tv.bnt.bg/bnt1subs
Thanks advance
+ Reply to Thread
Results 1 to 4 of 4
-
-
Code:
import re import requests SOURCE_URL = "https://tv.bnt.bg/bnt1subs" response = requests.get(SOURCE_URL).content.decode() live_url = re.search(r'<iframe.*?src="(.*?)".*?/iframe>', response).group(1) live_url = live_url.replace("//", "https://") response = requests.get(live_url, headers={ 'Referer': 'https://tv.bnt.bg/', }).content.decode() playlist_m3u8 = re.search(r'<source src="(.*?)"', response).group(1) playlist_m3u8 = playlist_m3u8.replace("//", "https://") print(playlist_m3u8)
Code:https://lb-ts.cdn.bg/bnt1/fls/bnt1sub.stream/at=O0U9MTcxMDQzMzQ0NDtBPTE7Sz0zO1A9MDExMTA7Uz0zYjc3OTY1ZmE2ZTBlMzg5NDRkOTllMWFiYmQwN2MxNWZmMjZkMzkw/playlist.m3u8
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*]
Similar Threads
-
Need help for python script
By kayrak in forum Video Streaming DownloadingReplies: 2Last Post: 12th Feb 2024, 06:44 -
Need Python script for this stream
By kayrak in forum Video Streaming DownloadingReplies: 6Last Post: 17th Sep 2023, 12:10 -
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