How kdzm/channel works
This repository is a collection of Python scripts for discovering or resolving Chinese television and livestream URLs, rather than a single integrated application. The visible workflow is operator-run: a provider-specific script requests channel data and prints playable URLs; some scripts also write a player playlist or HTML. The modules cover national and regional broadcasters, streaming platforms, and live-streaming services. The excerpts show a shared HTTP helper and a few output-formatting paths. Many provider scripts were not sampled, so their internal calls and any common orchestration are not inferred.
Main entry points: requestget.py HTTP helper · 爱青岛.py Qingdao TV · 广州电视台.py Guangzhou TV · 91kds.py 91KDS channels
Components 25
Shared helpers
- HTTP helper
requestget.py - MD5 tokens
MD5.py - Playlist template
DPL频道列表模板.py - HTML conversion
converttohtml.py
Broadcaster sources
- 91KDS channels
91看电视/91kds.py - Guangxi TV
广西官网/gxtv.py - Heilongjiang TV
黑龙江电视台/hljtvGFY.py - Qingdao TV
山东电视台/爱青岛.py - Guangzhou TV
广州电视台/广州电视台.py - Regional TV adapters
四川电信 - Telecom IPTV tools
广东电信 - EPG and channel lists
官方频道/EPG.py
Streaming platforms
- Migu video
咪咕视频/mgchaclass.py - Mango TV
芒果TV/mgtv.py - iQIYI
爱奇艺/iqiyi.py - PPTV
PPTV/pptv.py - Other platform adapters
Bilibili
Live services
- Penguin esports
企鹅电竞/企鹅电竞.py - Douyu
斗鱼直播/斗鱼tv.py - Huya
虎牙TV/huyaTV.py - Zhanqi
战旗直播/游戏放映室.py
Other components
- Operator
- Provider services
- Playlist file
- HTML output
Connections 24
- Operator → 91KDS channels: runs
- Operator → Guangxi TV: runs
- Operator → Qingdao TV: runs
- Operator → Guangzhou TV: runs
- 91KDS channels → HTTP helper: requests
91看电视/91kds.py - Guangxi TV → HTTP helper: requests
广西官网/gxtv.py - Guangxi TV → Provider services: fetches channel data
广西官网/gxtv.py - 91KDS channels → Provider services: resolves stream URLs
91看电视/91kds.py - Qingdao TV → HTTP helper: requests
山东电视台/爱青岛.py - Qingdao TV → MD5 tokens: creates token
山东电视台/爱青岛.py - Qingdao TV → Playlist template: formats entries
山东电视台/爱青岛.py - Qingdao TV → Playlist file: writes playlist
山东电视台/爱青岛.py - Guangzhou TV → HTTP helper: requests
广州电视台/广州电视台.py - Guangzhou TV → Playlist template: formats entries
广州电视台/广州电视台.py - Guangzhou TV → Playlist file: writes playlist
广州电视台/广州电视台.py - Penguin esports → HTTP helper: requests
企鹅电竞/企鹅电竞.py - Penguin esports → Playlist template: formats entries
企鹅电竞/企鹅电竞.py - Migu video → HTTP helper: requests
咪咕视频/mgchaclass.py - Migu video → MD5 tokens: creates token
咪咕视频/mgchaclass.py - Mango TV → HTTP helper: requests
芒果TV/mgtv.py - Heilongjiang TV → HTTP helper: requests
黑龙江电视台/hljtvGFY.py - Heilongjiang TV → MD5 tokens: creates token
黑龙江电视台/hljtvGFY.py - Telecom IPTV tools → HTML conversion: converts output
广东电信/广东电信IPTV2.py - HTML conversion → HTML output: returns HTML
converttohtml.py