Skip to content

Yeadee/TSports

Repository files navigation

About The Project

A simple script to automatically update TSports channels list with cookies every 6 hours.

Yeadee - TSports stars - TSports issues - TSports Hits
GitHub Repo stars

Key Features

  • Fully open-source (except the key and api url for security purposes).
  • All premium events are available.
  • provides ready-to-use m3u file for NS player.
  • provides ready-to-use m3u file for OTT Navigator.
  • provides data as json for developers' use.

How To Use

  • Use this link for TV data.

  • script to obtain m3u8 information:

    import requests
    link="https://raw.githubusercontent.com/Yeadee/TSports/main/tsports_channel_data.json"
    response=requests.get(link).json()
    name=response["name"]
    for channel in response["channels"]:
      url=channel["link"]
      headers={"cookie":channel["cookie"]}
      break
    main_response=requests.get(url,headers=headers).text
    print(main_response)

Prerequisite: You need to have Python installed on your machine.

  • Output:
#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

FOR IPTV PLAYBACK

Android (NS Player)

OTT Navigator

NOTES

  • This Readme documentation is made in resemblance with the docs of the famous TSports repo by Byte-Capsule.
  • This script is for educational purposes only. Do not use it for any illegal activities. If the code affects the revenue of the IPTV owners, please let me know and I will delete it.
  • Please give me proper credit if you share this content. Otherwise, I will take it down.
  • Due to geo-restriction, the contents are only available in Bangladesh.

Support

"Buy Me A Coffee"

QUESTIONS

Questions are welcome at https://github.com/Yeadee/TSports/discussions. This repo is also open for discussion.

Find Me

About

Automatic updated list of TSports links with cookies

Resources

Stars

Watchers

Forks

Languages