tvbs/README_en.md

258 lines
9.7 KiB
Markdown
Raw Permalink Normal View History

2024-08-23 05:50:50 +03:00
<div align="center">
<img src="./static/images/logo.png" alt="logo"/>
2024-11-28 10:03:01 +02:00
<h1 align="center">IPTV-API</h1>
2024-08-23 05:50:50 +03:00
</div>
2024-06-15 17:13:06 +03:00
2024-11-25 12:10:34 +02:00
<div align="center">Customize channels, automatically obtain live source interface, and generate usable results after speed test</div>
2024-10-22 10:51:39 +03:00
<div align="justify">Default results include: 📺CCTV Channel, 💰CCTV Pay Channel, 📡Satellite TV Channel, 🏠Guangdong Channel, 🌊Hong Kong · Macao · Taiwan Channel, 🎬Movie Channel, 🎥Migu Live Streaming, 🏀Sports Channel, 🪁Animation channel, 🎮Game channel, 🎵Music channel, 🏛Classic Theater.</div>
2024-10-08 06:04:39 +03:00
<details>
<summary>Specific channel</summary>
<div>
2024-10-14 10:26:17 +03:00
📺CCTV Channel: CCTV-1, CCTV-2, CCTV-3, CCTV-4, CCTV-5, CCTV-5+, CCTV-6, CCTV-7, CCTV-8, CCTV-9, CCTV-10, CCTV-11, CCTV-12, CCTV-13, CCTV-14, CCTV-15, CCTV-16, CCTV-17, CETV1, CETV2, CETV4, CETV5
2024-10-08 06:04:39 +03:00
</div>
2024-10-14 10:49:42 +03:00
<br>
<div>
2024-10-14 10:26:17 +03:00
💰CCTV Pay Channel: 文化精品, 央视台球, 风云音乐, 第一剧场, 风云剧场, 怀旧剧场, 女性时尚, 高尔夫网球, 风云足球, 电视指南, 世界地理, 兵器科技
2024-10-08 06:04:39 +03:00
</div>
2024-10-14 10:49:42 +03:00
<br>
<div>
2024-10-14 10:26:17 +03:00
📡Satellite TV Channel: 广东卫视, 香港卫视, 浙江卫视, 湖南卫视, 北京卫视, 湖北卫视, 黑龙江卫视, 安徽卫视, 重庆卫视, 东方卫视, 东南卫视, 甘肃卫视, 广西卫视, 贵州卫视, 海南卫视, 河北卫视, 河南卫视, 吉林卫视, 江苏卫视, 江西卫视, 辽宁卫视, 内蒙古卫视, 宁夏卫视, 青海卫视, 山东卫视, 山西卫视, 陕西卫视, 四川卫视, 深圳卫视, 三沙卫视, 天津卫视, 西藏卫视, 新疆卫视, 云南卫视
2024-10-08 06:04:39 +03:00
</div>
2024-10-14 10:49:42 +03:00
<br>
<div>
2024-11-14 06:03:57 +02:00
Guangdong Channel: 广东珠江, 广东体育, 广东新闻, 广东民生, 广东卫视, 大湾区卫视, 广州综合, 广州影视, 广州竞赛, 江门综合, 江门侨乡生活, 佛山综合, 深圳卫视, 汕头综合, 汕头经济, 汕头文旅, 茂名综合, 茂名公共
</div>
<br>
<div>
Local channels in each province
2024-10-11 10:51:40 +03:00
</div>
2024-10-14 10:49:42 +03:00
<br>
<div>
2024-10-14 10:26:17 +03:00
🌊Hong Kong · Macao · Taiwan Channel: 翡翠台, 明珠台, 凤凰中文, 凤凰资讯, 凤凰香港, 凤凰卫视, TVBS亚洲, 香港卫视, 纬来体育, 纬来育乐, J2, Viutv, 三立台湾, 无线新闻, 三立新闻, 东森综合, 东森超视, 东森电影, Now剧集, Now华剧, 靖天资讯, 星卫娱乐, 卫视卡式
2024-10-08 06:04:39 +03:00
</div>
2024-10-14 10:49:42 +03:00
<br>
<div>
2024-10-14 10:26:17 +03:00
🎬Movie Channel: CHC家庭影院, CHC动作电影, CHC高清电影, 淘剧场, 淘娱乐, 淘电影, NewTV惊悚悬疑, NewTV动作电影, 黑莓电影, 纬来电影, 靖天映画, 靖天戏剧, 星卫娱乐, 艾尔达娱乐, 经典电影, IPTV经典电影, 天映经典, 无线星河, 星空卫视, 私人影院, 东森电影, 龙祥电影, 东森洋片, 东森超视
</div>
2024-10-14 10:49:42 +03:00
<br>
<div>
2024-10-14 10:26:17 +03:00
🎥Migu Live Streaming: 咪咕直播1-45
</div>
2024-10-14 10:49:42 +03:00
<br>
<div>
2024-10-14 10:26:17 +03:00
🏀Sports Channel: CCTV-5, CCTV-5+, 广东体育, 纬来体育, 五星体育, 体育赛事, 劲爆体育, 爱体育, 超级体育, 精品体育, 广州竞赛, 深圳体育, 福建体育, 辽宁体育, 山东体育, 成都体育, 天津体育, 江苏体育, 安徽综艺体育, 吉林篮球, 睛彩篮球, 睛彩羽毛球, 睛彩广场舞, 风云足球, 足球频道, 魅力足球, 天元围棋, 快乐垂钓, JJ斗地主
</div>
2024-10-14 10:49:42 +03:00
<br>
<div>
2024-10-14 10:26:17 +03:00
🪁Animation channel: 少儿动画, 卡酷动画, 动漫秀场, 新动漫, 青春动漫, 爱动漫, 中录动漫, 宝宝动画, CN卡通, 优漫卡通, 金鹰卡通, 睛彩少儿, 黑莓动画, 炫动卡通, 24H国漫热播, 浙江少儿, 河北少儿科教, 七龙珠, 火影忍者, 海绵宝宝, 中华小当家, 斗破苍穹玄幻剧, 猫和老鼠, 经典动漫, 蜡笔小新, 漫画解说
</div>
2024-10-14 10:49:42 +03:00
<br>
<div>
2024-10-14 10:26:17 +03:00
🎮Game channel: 游戏风云, 游戏竞技, 电竞游戏, 海看电竞, 电竞天堂, 爱电竞
</div>
2024-10-14 10:49:42 +03:00
<br>
<div>
2024-10-14 10:26:17 +03:00
🎵Music channel: CCTV-15, 风云音乐, 音乐现场, 音乐之声, 潮流音乐, 天津音乐, 音乐广播, 音乐调频广播
2024-10-08 06:04:39 +03:00
</div>
2024-10-22 10:55:28 +03:00
<br>
2024-10-22 10:51:39 +03:00
<div>
🏛Classic Theater: 笑傲江湖, 天龙八部, 鹿鼎记, 仙剑奇侠传, 西游记, 三国演义, 水浒传, 新白娘子传奇, 天龙八部, 济公游记, 封神榜, 闯关东, 上海滩, 射雕英雄传
</div>
2024-10-08 06:04:39 +03:00
</details>
2024-10-14 10:49:42 +03:00
<br>
<p align="center">
2024-11-28 10:03:01 +02:00
<a href="https://github.com/Guovin/iptv-api/releases/latest">
<img src="https://img.shields.io/github/v/release/guovin/iptv-api" />
2024-07-10 06:14:53 +03:00
</a>
2024-07-10 06:18:07 +03:00
<a href="https://www.python.org/">
2024-11-22 12:30:08 +02:00
<img src="https://img.shields.io/badge/python-%20%3D%203.13-47c219" />
2024-07-10 06:14:53 +03:00
</a>
2024-11-28 10:03:01 +02:00
<a href="https://github.com/Guovin/iptv-api/releases/latest">
<img src="https://img.shields.io/github/downloads/guovin/iptv-api/total" />
2024-07-10 06:14:53 +03:00
</a>
2024-11-28 10:03:01 +02:00
<a href="https://hub.docker.com/repository/docker/guovern/iptv-api">
2024-11-29 08:07:22 +02:00
<img src="https://img.shields.io/docker/pulls/guovern/iptv-api?label=docker:iptv-api" />
2024-07-10 06:14:53 +03:00
</a>
2024-11-25 12:10:34 +02:00
<a href="https://hub.docker.com/repository/docker/guovern/tv-requests">
<img src="https://img.shields.io/docker/pulls/guovern/tv-requests?label=docker:requests" />
2024-07-10 06:14:53 +03:00
</a>
2024-11-25 12:10:34 +02:00
<a href="https://hub.docker.com/repository/docker/guovern/tv-driver">
<img src="https://img.shields.io/docker/pulls/guovern/tv-driver?label=docker:driver" />
</a>
2024-11-28 10:03:01 +02:00
<a href="https://github.com/Guovin/iptv-api/fork">
<img src="https://img.shields.io/github/forks/guovin/iptv-api" />
2024-11-05 10:03:08 +02:00
</a>
2024-07-10 06:14:53 +03:00
</p>
2024-06-15 17:13:06 +03:00
[中文](./README.md) | English
2024-11-29 08:55:10 +02:00
- [✅ Features](#features)
- [🔗 Latest results](#latest-results)
2024-11-29 08:07:22 +02:00
- [⚙️ Config parameter](./docs/config_en.md)
2024-11-29 08:55:10 +02:00
- [🚀 Quick Start](#quick-start)
2024-11-29 08:07:22 +02:00
- [📖 Detailed Tutorial](./docs/tutorial_en.md)
- [🗓️ Changelog](./CHANGELOG.md)
2024-12-03 10:48:23 +02:00
- [❤️ Appreciate](#appreciate)
2024-11-29 08:55:10 +02:00
- [👀 Follow](#follow)
- [📣 Disclaimer](#disclaimer)
- [⚖️ License](#license)
2024-11-29 08:07:22 +02:00
2024-11-29 08:55:10 +02:00
## Features
2024-06-15 17:13:06 +03:00
2024-11-05 11:34:14 +02:00
- ✅ Customize the template to generate the channel you want
- ✅ Supports multiple source acquisition methods: multicast source, hotel source, subscription source, keyword search
- ✅ Interface speed testing and verification, with priority on response time and resolution, filtering out ineffective interfaces
2024-11-05 11:43:27 +02:00
- ✅ Preferences: IPv6, priority and quantity of interface source sorting, and interface whitelist
2024-11-29 07:40:43 +02:00
- ✅ Scheduled execution at 6:00 AM and 18:00 PM Beijing time daily
2024-11-22 12:30:08 +02:00
- ✅ Supports various execution methods: workflows, command line, GUI software, Docker(amd64/arm64/arm v7)
2024-11-05 11:34:14 +02:00
- ✨ For more features, see [Config parameter](./docs/config_en.md)
2024-06-15 17:13:06 +03:00
2024-11-29 08:55:10 +02:00
## Latest results
2024-10-08 06:04:39 +03:00
- Interface source:
```bash
2024-12-02 03:53:32 +02:00
https://ghp.ci/raw.githubusercontent.com/Guovin/iptv-api/gd/output/result.m3u
2024-10-08 06:04:39 +03:00
```
2024-11-04 12:15:47 +02:00
```bash
2024-12-02 03:53:32 +02:00
https://ghp.ci/raw.githubusercontent.com/Guovin/iptv-api/gd/output/result.txt
2024-11-04 12:15:47 +02:00
```
2024-10-08 06:04:39 +03:00
- Data source:
```bash
2024-12-02 03:53:32 +02:00
https://ghp.ci/raw.githubusercontent.com/Guovin/iptv-api/gd/source.json
2024-10-08 06:04:39 +03:00
```
2024-11-29 08:55:10 +02:00
## Config
2024-06-15 17:13:06 +03:00
2024-07-01 12:04:22 +03:00
[Config parameter](./docs/config_en.md)
2024-06-15 17:13:06 +03:00
2024-11-29 08:55:10 +02:00
## Quick Start
2024-06-15 17:13:06 +03:00
2024-10-31 11:59:10 +02:00
### Method 1: Workflow
2024-10-08 09:42:06 +03:00
2024-10-08 09:44:40 +03:00
Fork this project and initiate workflow updates, detailed steps are available at [Detailed Tutorial](./docs/tutorial_en.md)
2024-10-08 09:42:06 +03:00
2024-10-31 11:59:10 +02:00
### Method 2: Command Line
2024-06-15 17:13:06 +03:00
2024-07-01 12:04:22 +03:00
```python
2024-11-05 08:16:36 +02:00
pip install pipenv
```
```python
2024-11-22 12:30:08 +02:00
pipenv install --dev
2024-11-05 08:16:36 +02:00
```
2024-11-27 10:57:12 +02:00
Start update:
2024-11-05 08:16:36 +02:00
```python
2024-11-18 04:58:00 +02:00
pipenv run dev
2024-07-01 12:04:22 +03:00
```
2024-11-27 10:57:12 +02:00
Start service:
```python
pipenv run service
```
2024-10-31 11:59:10 +02:00
### Method 3: GUI Software
2024-07-01 12:04:22 +03:00
2024-11-28 10:03:01 +02:00
1. Download [IPTV-API update software](https://github.com/Guovin/iptv-api/releases), open the software, click update to complete the update
2024-07-01 12:04:22 +03:00
2. Or run the following command in the project directory to open the GUI software:
2024-07-02 06:56:40 +03:00
```python
2024-07-01 12:04:22 +03:00
pipenv run ui
```
2024-11-28 10:03:01 +02:00
<img src="./docs/images/ui.png" alt="IPTV-API update software" title="IPTV-API update software" style="height:600px" />
2024-07-10 05:31:44 +03:00
2024-10-31 11:59:10 +02:00
### Method 4: Docker
2024-07-01 12:04:22 +03:00
2024-11-28 10:03:01 +02:00
- iptv-api (Full version): Higher performance requirements, slower update speed, high stability and success rate. Set open_driver = False to switch to the lite running mode (recommended for hotel sources, multicast sources, and online searches)
- iptv-api:lite (Condensed version): Lightweight, low performance requirements, fast update speed, stability uncertain (recommend using this version for the subscription source)
2024-07-10 07:00:31 +03:00
2024-11-08 10:01:20 +02:00
It's recommended to try each one and choose the version that suits you
2024-07-09 12:53:58 +03:00
1. Pull the image:
2024-11-14 06:03:57 +02:00
2024-11-28 10:03:01 +02:00
- iptv-api
2024-11-14 06:03:57 +02:00
2024-11-08 10:01:20 +02:00
```bash
2024-11-28 10:03:01 +02:00
docker pull guovern/iptv-api:latest
2024-11-08 10:01:20 +02:00
```
2024-11-28 10:03:01 +02:00
- iptv-api:lite
2024-11-14 06:03:57 +02:00
2024-11-08 10:01:20 +02:00
```bash
2024-11-28 10:03:01 +02:00
docker pull guovern/iptv-api:lite
2024-11-08 10:01:20 +02:00
```
2024-07-09 12:53:58 +03:00
2024-07-17 10:00:51 +03:00
2. Run the container:
2024-11-14 06:03:57 +02:00
2024-11-28 10:03:01 +02:00
- iptv-api
2024-11-14 06:03:57 +02:00
2024-11-08 10:01:20 +02:00
```bash
2024-11-28 10:03:01 +02:00
docker run -d -p 8000:8000 guovern/iptv-api
2024-11-08 10:01:20 +02:00
```
2024-11-28 10:03:01 +02:00
- iptv-api:lite
2024-11-14 06:03:57 +02:00
2024-11-08 10:01:20 +02:00
```bash
2024-11-28 10:03:01 +02:00
docker run -d -p 8000:8000 guovern/iptv-api:lite
2024-11-08 10:01:20 +02:00
```
2024-07-10 05:31:44 +03:00
2024-07-17 10:00:51 +03:00
Volume Mount Parameter (Optional):
This allows synchronization of files between the host machine and the container. Modifying templates, configurations, and retrieving updated result files can be directly operated in the host machine's folder.
2024-08-12 13:08:06 +03:00
2024-11-08 10:01:20 +02:00
Taking the host path /etc/docker as an example:
2024-08-12 13:08:06 +03:00
2024-11-28 10:03:01 +02:00
- iptv-api
2024-11-14 06:03:57 +02:00
2024-11-08 10:01:20 +02:00
```bash
2024-11-28 10:03:01 +02:00
docker run -v /etc/docker/config:/iptv-api/config -v /etc/docker/output:/iptv-api/output -d -p 8000:8000 guovern/iptv-api
2024-11-08 10:01:20 +02:00
```
2024-07-09 12:53:58 +03:00
2024-11-28 10:03:01 +02:00
- iptv-api:lite
2024-11-14 06:03:57 +02:00
2024-11-08 10:01:20 +02:00
```bash
2024-11-28 10:03:01 +02:00
docker run -v /etc/docker/config:/iptv-api-lite/config -v /etc/docker/output:/iptv-api-lite/output -d -p 8000:8000 guovern/iptv-api:lite
2024-11-14 06:03:57 +02:00
```
2024-08-15 12:01:09 +03:00
2024-11-08 11:28:16 +02:00
3. Update results:
2024-11-21 04:51:55 +02:00
2024-11-08 11:28:16 +02:00
- API address: ip:8000
2024-11-26 11:29:36 +02:00
- M3u apiip:8000/m3u
- Txt apiip:8000/txt
- API content: ip:8000/content
2024-11-08 11:28:16 +02:00
- Speed test log: ip:8000/log
2024-07-01 12:04:22 +03:00
2024-11-29 08:55:10 +02:00
## Changelog
2024-06-15 17:13:06 +03:00
[Changelog](./CHANGELOG.md)
2024-11-29 08:55:10 +02:00
## Appreciate
2024-06-15 17:13:06 +03:00
2024-11-15 10:51:28 +02:00
<div>Development and maintenance are not easy, please buy me a coffee ~</div>
2024-10-22 10:33:27 +03:00
| Alipay | Wechat |
| ------------------------------------- | ----------------------------------------- |
| ![Alipay](./static/images/alipay.jpg) | ![Wechat](./static/images/appreciate.jpg) |
2024-11-29 08:55:10 +02:00
## Follow
2024-11-21 04:51:55 +02:00
2024-11-22 12:30:08 +02:00
Wechat public account search for Govin, or scan the code to receive updates and learn more tips:
2024-11-21 04:51:55 +02:00
![Wechat public account](./static/images/qrcode.jpg)
2024-11-29 08:55:10 +02:00
## Disclaimer
2024-10-22 10:33:27 +03:00
This project is for learning and communication purposes only. All interface data comes from the internet. If there is any infringement, please contact us for removal.
2024-11-21 05:15:08 +02:00
2024-11-29 08:55:10 +02:00
## License
2024-11-21 05:15:08 +02:00
[MIT](./LICENSE) License &copy; 2024-PRESENT [Govin](https://github.com/guovin)