Giter Club home page Giter Club logo

tsports-m3u8-grabber's Introduction


🔥 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

tsports-m3u8-grabber's People

Contributors

actions-user avatar byte-capsule avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tsports-m3u8-grabber's Issues

for vlc

please add instructions for how to use on vlc player if its possible

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.