Skip to content

Hourly Automatically updated list of TSports App Live Match Links and Headers Cookie (provided as json-file,NS Player playList,OTT Navigator PlayList)

Notifications You must be signed in to change notification settings

byte-capsule/TSports-m3u8-Grabber

Repository files navigation


🔥 TSports 🔥
🔥 TSports 🔥

A Script to trigger the GitHub Actions every day to update the TSports App Channels M3U8 Link and Cookie

Gitter

📒Introdicton

  • TSports is a premium OTT platform that allows subscribers to watch live sports.By useing this Script you can watch all live sports for Free

💥Key Features

  • All The Channel M3U8 Links and Cookies Are Updated Every 12 Hours
  • Premium Channels Are Also Working
  • Contains Link With Headers (Host, Cookie)
  • In JSON Format
  • You Can Easily Use This on a Website or in an App for Restreaming TV Channels

🕹️How To Use

For Developers

import requests
#Grab updated the M3U8 Link and Headers 
link="https://raw.githubusercontent.com/byte-capsule/TSports-m3u8-Grabber/main/TSports_m3u8_headers.Json"
request=requests.get(link).json()

name=request["name"]
owner=request["owner"]
channels_amount=request["channels_amount"]
channels_data=request["channels"]
for channel in channels_data:
    link=channel["link"]
    headers=channel["headers"]
    print("✓ channel link :"+link)
    print("✓ channel Headers :",headers)
    



#Test The M3U8 Link and Cookie via Requesting TSports Server 
request_server=requests.get(link,headers=headers)
if request_server.status_code==200:
    print("😀 M3U8 Link and Cookies are Working.....")
    print("✓ Response From TSports Server : "+request_server.text)
else:
    print("🤧 M3U8 Link and Cookies are Not Working.....")
    print("✓ Response From TSports Server : "+request_server.text)
    


Note I'm using Python 3.You can use other Languages.

🖥️Optput

✓ channel link :https://live-cdn.tsports.com/live-01/index.m3u8 ✓ channel Headers : {'Cookie': 'Edge-Cache-Cookie=URLPrefix=aHR0cHM6Ly9saXZlLWNkbi50c3BvcnRzLmNvbS8:Expires=1702818302:KeyName=tsports-ed25519-01:Signature=ptxd7U8tSHlX6U4ImF-KojFqVq31ELgjeYl9rajJt_huoHfV86T9vLC0A79xPKbPa2fElmPe761MJW0fXEIMCw', 'Host': 'live-cdn.tsports.com', 'User-agent': 'https://github.com/byte-capsule (Linux;Android 14)'} 😀 M3U8 Link and Cookies are Working..... ✓ Response From TSports Server : #EXTM3U #EXT-X-VERSION:3 #EXT-X-STREAM-INF:BANDWIDTH=1482984,AVERAGE-BANDWIDTH=1482984,CODECS="avc1.640028,mp4a.40.2",PROGRAM-ID=1,RESOLUTION=1920x1080,FRAME-RATE=25.000 master_1080.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=1278664,AVERAGE-BANDWIDTH=1278664,CODECS="avc1.64001f,mp4a.40.2",PROGRAM-ID=1,RESOLUTION=1280x720,FRAME-RATE=25.000 master_720.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=1131528,AVERAGE-BANDWIDTH=1131528,CODECS="avc1.64001e,mp4a.40.2",PROGRAM-ID=1,RESOLUTION=854x480,FRAME-RATE=25.000 master_480.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=780040,AVERAGE-BANDWIDTH=780040,CODECS="avc1.64001e,mp4a.40.2",PROGRAM-ID=1,RESOLUTION=640x360,FRAME-RATE=25.000 master_360.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=624744,AVERAGE-BANDWIDTH=624744,CODECS="avc1.640015,mp4a.40.2",PROGRAM-ID=1,RESOLUTION=426x240,FRAME-RATE=25.000 master_240.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=440808,AVERAGE-BANDWIDTH=440808,CODECS="avc1.64000c,mp4a.40.2",PROGRAM-ID=1,RESOLUTION=256x144,FRAME-RATE=25.000 master_144.m3u8

[Program finished]

🎬How To Play

📱Android

🖥️ Android TV

🚬Credits

Typing SVG

*🥰 Thanks:

📝Note

  • The following code is for educational purposes only. It demonstrates how to authenticate and stream IPTV. Do not use it for any illegal or harmful activities. If the code affects the revenue of the IPTV owners, please let me and I will delete it.
  • Please give me proper credit if you share this content. Otherwise, I will take it down.
  • The codes of the repo are encrypted to ensure security. Please refrain from trying to run or deploy them
  • Due to geo-restriction, the IPTV content is only available in Bangladesh.

💰Support

Buy Me A Coffee

✉️Find Me on

  • Github

  • Gmail

  • Facebook

  • Messenger

  • Telegram