Skip to content

Hourly Automatically updated list of Toffee App Channels Links and Headers (provided as json-file)

Notifications You must be signed in to change notification settings

byte-capsule/Toffee-Channels-Link-Headers

Repository files navigation


🔥 Toffee 🔥
🔥 Toffee 🔥

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

Gitter

📒Introdicton

  • Toffee Live is the number 1 entertainment app in Bangladesh, boasting over 10 million downloads on the Google Play Store.

💥Key Features

  • All The Channel Links and Cookies Are Updated Every 30 Minutes
  • 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
#Get updated the Link and Headers 
link="https://raw.githubusercontent.com/Jeshan-akand/Toffee-Channels-Link-Headers/main/toffee_channel_data.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)
#Request Toffee Main Api With Headers
request_server=requests.get(link,headers=headers)
#Get the Live m3u3 Link
print("✓ Response From Toffee Server : "+request_server.text)

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

🖥️Optput

✓ channel link :https://bldcmprod-cdn.toffeelive.com/cdn/live/comedy_central_hd/playlist.m3u8 ✓ channel Headers : {'Host': 'bldcmprod-cdn.toffeelive.com', 'cookie': 'Edge-Cache-Cookie=URLPrefix=aHR0cHM6Ly9ibGRjbXByb2QtY2RuLnRvZmZlZWxpdmUuY29tLw:Expires=1698080619:KeyName=prod_linear:Signature=RY1grOoqltoX1yPO4WMzHCQk2xIp1zGvi03K2bdefb-_QErIqzbuBwytBNV5HiSHSsDslAS2gJsuRFT_MnNJCQ'}

✓ Response From Toffee Server : #EXTM3U #EXT-X-VERSION:3 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1024000,RESOLUTION=1280x720 ../slang/comedy_central_hd_576/comedy_central_hd_576.m3u8?bitrate=1000000&channel=comedy_central_hd_576&gp_id= #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=768000,RESOLUTION=854x480 ../slang/comedy_central_hd_320/comedy_central_hd_320.m3u8?bitrate=768000&channel=comedy_central_hd_320&gp_id= #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=512000,RESOLUTION=640x360 ../slang/comedy_central_hd_160/comedy_central_hd_160.m3u8?bitrate=512000&channel=comedy_central_hd_160&gp_id=

[Program finished]

🎬How To Play

📱Android

🖥️ Android TV

🚬Credits

Typing SVG

📝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