VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Hi, I need Python script to get m3u8 on this Site: https://www.canlitv.me/show-tv-canli-yayin-hd

    Thanks advance
    Quote Quote  
  2. 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 Quote  
  3. 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
    [/QUOTE]

    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)
    Quote Quote  
  4. Member
    Join Date
    Mar 2021
    Location
    Israel
    Search Comp PM
    Originally Posted by kayrak View Post
    Hi, I need Python script to get m3u8 on this Site: https://www.canlitv.me/show-tv-canli-yayin-hd

    Thanks advance
    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
    Quote Quote  
  5. Member
    Join Date
    Mar 2021
    Location
    Israel
    Search Comp PM
    The official showtv website has 1080p resolution. see attached sample.
    Image Attached Files
    Quote Quote  
  6. on this site i want another channels too, i need this script just for example
    Quote Quote  
  7. Member
    Join Date
    Mar 2021
    Location
    Israel
    Search Comp PM
    Originally Posted by kayrak View Post
    on this site i want another channels too, i need this script just for example
    I understand. FYI this site doesn't offer 1080p only a maximum of 720p this is why I suggested the official website.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!