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-02-23 05:19:21 +02:00
|
|
|
|
|
2024-11-25 12:10:34 +02:00
|
|
|
|
<div align="center">自定义频道,自动获取直播源接口,测速验效后生成可用的结果</div>
|
2024-10-22 10:51:39 +03:00
|
|
|
|
<div align="center">默认结果包含:📺央视频道、💰央视付费频道、📡卫视频道、🏠广东频道、🌊港·澳·台频道、🎬电影频道、🎥咪咕直播、🏀体育频道、🪁动画频道、🎮游戏频道、🎵音乐频道、🏛经典剧场</div>
|
2024-10-08 06:04:39 +03:00
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>具体频道</summary>
|
|
|
|
|
<div>
|
2024-10-14 10:26:17 +03:00
|
|
|
|
📺央视频道: 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
|
|
|
|
💰央视付费频道: 文化精品, 央视台球, 风云音乐, 第一剧场, 风云剧场, 怀旧剧场, 女性时尚, 高尔夫网球, 风云足球, 电视指南, 世界地理, 兵器科技
|
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
|
|
|
|
📡卫视频道: 广东卫视, 香港卫视, 浙江卫视, 湖南卫视, 北京卫视, 湖北卫视, 黑龙江卫视, 安徽卫视, 重庆卫视, 东方卫视, 东南卫视, 甘肃卫视, 广西卫视, 贵州卫视, 海南卫视, 河北卫视, 河南卫视, 吉林卫视, 江苏卫视, 江西卫视, 辽宁卫视, 内蒙古卫视, 宁夏卫视, 青海卫视, 山东卫视, 山西卫视, 陕西卫视, 四川卫视, 深圳卫视, 三沙卫视, 天津卫视, 西藏卫视, 新疆卫视, 云南卫视
|
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
|
|
|
|
☘️广东频道: 广东珠江, 广东体育, 广东新闻, 广东民生, 广东卫视, 大湾区卫视, 广州综合, 广州影视, 广州竞赛, 江门综合, 江门侨乡生活, 佛山综合, 深圳卫视, 汕头综合, 汕头经济, 汕头文旅, 茂名综合, 茂名公共
|
|
|
|
|
</div>
|
|
|
|
|
<br>
|
|
|
|
|
<div>
|
|
|
|
|
☘️各省份地方台
|
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
|
|
|
|
🌊港·澳·台: 翡翠台, 明珠台, 凤凰中文, 凤凰资讯, 凤凰香港, 凤凰卫视, 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
|
|
|
|
🎬电影频道: 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
|
|
|
|
🎥咪咕直播: 咪咕直播1-45
|
|
|
|
|
</div>
|
2024-10-14 10:49:42 +03:00
|
|
|
|
<br>
|
|
|
|
|
<div>
|
2024-10-14 10:26:17 +03:00
|
|
|
|
🏀体育频道: CCTV-5, CCTV-5+, 广东体育, 纬来体育, 五星体育, 体育赛事, 劲爆体育, 爱体育, 超级体育, 精品体育, 广州竞赛, 深圳体育, 福建体育, 辽宁体育, 山东体育, 成都体育, 天津体育, 江苏体育, 安徽综艺体育, 吉林篮球, 睛彩篮球, 睛彩羽毛球, 睛彩广场舞, 风云足球, 足球频道, 魅力足球, 天元围棋, 快乐垂钓, JJ斗地主
|
|
|
|
|
</div>
|
2024-10-14 10:49:42 +03:00
|
|
|
|
<br>
|
|
|
|
|
<div>
|
2024-10-14 10:26:17 +03:00
|
|
|
|
🪁动画频道: 少儿动画, 卡酷动画, 动漫秀场, 新动漫, 青春动漫, 爱动漫, 中录动漫, 宝宝动画, CN卡通, 优漫卡通, 金鹰卡通, 睛彩少儿, 黑莓动画, 炫动卡通, 24H国漫热播, 浙江少儿, 河北少儿科教, 七龙珠, 火影忍者, 海绵宝宝, 中华小当家, 斗破苍穹玄幻剧, 猫和老鼠, 经典动漫, 蜡笔小新, 漫画解说
|
|
|
|
|
</div>
|
2024-10-14 10:49:42 +03:00
|
|
|
|
<br>
|
|
|
|
|
<div>
|
2024-10-14 10:26:17 +03:00
|
|
|
|
🎮游戏频道: 游戏风云, 游戏竞技, 电竞游戏, 海看电竞, 电竞天堂, 爱电竞
|
|
|
|
|
</div>
|
2024-10-14 10:49:42 +03:00
|
|
|
|
<br>
|
|
|
|
|
<div>
|
2024-10-14 10:26:17 +03:00
|
|
|
|
🎵音乐频道: 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>
|
|
|
|
|
🏛经典剧场: 笑傲江湖, 天龙八部, 鹿鼎记, 仙剑奇侠传, 西游记, 三国演义, 水浒传, 新白娘子传奇, 天龙八部, 济公游记, 封神榜, 闯关东, 上海滩, 射雕英雄传
|
|
|
|
|
</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
|
|
|
|
[English](./README_en.md) | 中文
|
2024-02-28 05:06:10 +02:00
|
|
|
|
|
2024-11-29 08:52:47 +02:00
|
|
|
|
- [✅ 特点](#特点)
|
|
|
|
|
- [🔗 最新结果](#最新结果)
|
2024-11-29 08:07:22 +02:00
|
|
|
|
- [⚙️ 配置参数](./docs/config.md)
|
2024-11-29 08:52:47 +02:00
|
|
|
|
- [🚀 快速上手](#快速上手)
|
2024-11-29 08:07:22 +02:00
|
|
|
|
- [📖 详细教程](./docs/tutorial.md)
|
|
|
|
|
- [🗓️ 更新日志](./CHANGELOG.md)
|
2024-12-03 10:48:00 +02:00
|
|
|
|
- [❤️ 赞赏](#赞赏)
|
2024-11-29 08:52:47 +02:00
|
|
|
|
- [👀 关注](#关注)
|
|
|
|
|
- [📣 免责声明](#免责声明)
|
|
|
|
|
- [⚖️ 许可证](#许可证)
|
2024-11-29 08:07:22 +02:00
|
|
|
|
|
2024-11-29 08:52:47 +02:00
|
|
|
|
## 特点
|
2024-02-23 05:19:21 +02:00
|
|
|
|
|
2024-11-05 11:34:14 +02:00
|
|
|
|
- ✅ 自定义模板,生成您想要的频道
|
|
|
|
|
- ✅ 支持多种获取源方式:组播源、酒店源、订阅源、关键字搜索
|
|
|
|
|
- ✅ 接口测速验效,响应时间、分辨率优先级,过滤无效接口
|
2024-11-05 11:43:27 +02:00
|
|
|
|
- ✅ 偏好设置:IPv6、接口来源排序优先级与数量配置、接口白名单
|
2024-11-29 07:40:43 +02:00
|
|
|
|
- ✅ 定时执行,北京时间每日 6:00 与 18:00 执行更新
|
2024-11-22 12:30:08 +02:00
|
|
|
|
- ✅ 支持多种运行方式:工作流、命令行、GUI 软件、Docker(amd64/arm64/arm v7)
|
2024-11-05 11:34:14 +02:00
|
|
|
|
- ✨ 更多功能请见[配置参数](./docs/config.md)
|
2024-02-23 05:19:21 +02:00
|
|
|
|
|
2024-11-29 08:52:47 +02:00
|
|
|
|
## 最新结果
|
2024-10-08 06:04:39 +03:00
|
|
|
|
|
|
|
|
|
- 接口源:
|
|
|
|
|
|
|
|
|
|
```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
|
|
|
|
- 数据源:
|
|
|
|
|
|
|
|
|
|
```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:52:47 +02:00
|
|
|
|
## 配置
|
2024-02-23 05:19:21 +02:00
|
|
|
|
|
2024-06-15 17:13:06 +03:00
|
|
|
|
[配置参数](./docs/config.md)
|
2024-02-27 11:51:30 +02:00
|
|
|
|
|
2024-11-29 08:52:47 +02:00
|
|
|
|
## 快速上手
|
2024-02-27 11:51:30 +02:00
|
|
|
|
|
2024-10-31 11:59:10 +02:00
|
|
|
|
### 方式一:工作流
|
2024-10-08 09:42:06 +03:00
|
|
|
|
|
2024-10-08 09:44:40 +03:00
|
|
|
|
Fork 本项目并开启工作流更新,具体步骤请见[详细教程](./docs/tutorial.md)
|
2024-10-08 09:42:06 +03:00
|
|
|
|
|
2024-10-31 11:59:10 +02:00
|
|
|
|
### 方式二:命令行
|
2024-06-09 15:24:56 +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
|
|
|
|
启动更新:
|
|
|
|
|
|
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
|
|
|
|
启动服务:
|
|
|
|
|
|
|
|
|
|
```python
|
|
|
|
|
pipenv run service
|
|
|
|
|
```
|
|
|
|
|
|
2024-10-31 11:59:10 +02:00
|
|
|
|
### 方式三:GUI 软件
|
2024-07-01 12:04:22 +03:00
|
|
|
|
|
2024-11-28 10:03:01 +02:00
|
|
|
|
1. 下载[IPTV-API 更新软件](https://github.com/Guovin/iptv-api/releases),打开软件,点击更新,即可完成更新
|
2024-07-01 12:04:22 +03:00
|
|
|
|
|
2024-10-25 09:07:35 +03:00
|
|
|
|
2. 或者在项目目录下运行以下命令,即可打开 GUI 软件:
|
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更新软件" title="IPTV-API更新软件" style="height:600px" />
|
2024-07-10 05:31:44 +03:00
|
|
|
|
|
2024-10-31 11:59:10 +02:00
|
|
|
|
### 方式四:Docker
|
2024-07-01 12:04:22 +03:00
|
|
|
|
|
2024-11-28 10:03:01 +02:00
|
|
|
|
- iptv-api(完整版本):性能要求较高,更新速度较慢,稳定性、成功率高;修改配置 open_driver = False 可切换到 Lite 版本运行模式(推荐酒店源、组播源、关键字搜索使用此版本)
|
|
|
|
|
- iptv-api:lite(精简版本):轻量级,性能要求低,更新速度快,稳定性不确定(推荐订阅源使用此版本)
|
2024-07-09 12:53:58 +03:00
|
|
|
|
|
|
|
|
|
1. 拉取镜像:
|
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 09:50:46 +02:00
|
|
|
|
```bash
|
2024-11-28 10:03:01 +02:00
|
|
|
|
docker pull guovern/iptv-api:latest
|
2024-11-08 09:50:46 +02:00
|
|
|
|
```
|
|
|
|
|
|
2024-11-28 10:03:01 +02:00
|
|
|
|
- iptv-api:lite:
|
2024-11-14 06:03:57 +02:00
|
|
|
|
|
2024-11-08 09:50:46 +02:00
|
|
|
|
```bash
|
2024-11-28 10:03:01 +02:00
|
|
|
|
docker pull guovern/iptv-api:lite
|
2024-11-08 09:50:46 +02:00
|
|
|
|
```
|
2024-07-09 12:53:58 +03:00
|
|
|
|
|
2024-07-17 10:00:51 +03:00
|
|
|
|
2. 运行容器:
|
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 09:50:46 +02:00
|
|
|
|
```bash
|
2024-11-28 10:03:01 +02:00
|
|
|
|
docker run -d -p 8000:8000 guovern/iptv-api
|
2024-11-08 09:50:46 +02:00
|
|
|
|
```
|
|
|
|
|
|
2024-11-28 10:03:01 +02:00
|
|
|
|
- iptv-api:lite:
|
2024-11-14 06:03:57 +02:00
|
|
|
|
|
2024-11-08 09:50:46 +02:00
|
|
|
|
```bash
|
2024-11-28 10:03:01 +02:00
|
|
|
|
docker run -d -p 8000:8000 guovern/iptv-api:lite
|
2024-11-08 09:50:46 +02:00
|
|
|
|
```
|
2024-07-10 05:31:44 +03:00
|
|
|
|
|
2024-07-17 10:00:51 +03:00
|
|
|
|
卷挂载参数(可选):
|
|
|
|
|
实现宿主机文件与容器文件同步,修改模板、配置、获取更新结果文件可直接在宿主机文件夹下操作
|
2024-08-12 13:08:06 +03:00
|
|
|
|
|
2024-11-14 06:03:57 +02:00
|
|
|
|
以宿主机路径/etc/docker 为例:
|
|
|
|
|
|
2024-11-28 10:03:01 +02:00
|
|
|
|
- iptv-api:
|
2024-11-14 06:03:57 +02:00
|
|
|
|
|
2024-11-08 09:50:46 +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 09:50:46 +02:00
|
|
|
|
```
|
2024-08-15 12:01:09 +03:00
|
|
|
|
|
2024-11-28 10:03:01 +02:00
|
|
|
|
- iptv-api:lite:
|
2024-11-14 06:03:57 +02:00
|
|
|
|
|
2024-11-08 09:50:46 +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-07-01 12:04:22 +03:00
|
|
|
|
```
|
|
|
|
|
|
2024-11-08 11:27:21 +02:00
|
|
|
|
3. 更新结果:
|
2024-11-21 04:51:55 +02:00
|
|
|
|
|
2024-11-08 11:27:21 +02:00
|
|
|
|
- 接口地址:ip:8000
|
2024-11-26 11:29:36 +02:00
|
|
|
|
- M3u 接口:ip:8000/m3u
|
|
|
|
|
- Txt 接口:ip:8000/txt
|
|
|
|
|
- 接口内容:ip:8000/content
|
2024-11-08 11:27:21 +02:00
|
|
|
|
- 测速日志:ip:8000/log
|
2024-07-01 12:04:22 +03:00
|
|
|
|
|
2024-11-29 08:52:47 +02:00
|
|
|
|
## 更新日志
|
2024-03-04 05:21:55 +02:00
|
|
|
|
|
2024-03-26 10:51:13 +02:00
|
|
|
|
[更新日志](./CHANGELOG.md)
|
2024-02-28 04:16:22 +02:00
|
|
|
|
|
2024-11-29 08:52:47 +02:00
|
|
|
|
## 赞赏
|
2024-06-14 12:55:27 +03:00
|
|
|
|
|
2024-11-15 10:51:28 +02:00
|
|
|
|
<div>开发维护不易,请我喝杯咖啡☕️吧~</div>
|
2024-10-22 10:33:27 +03:00
|
|
|
|
|
|
|
|
|
| 支付宝 | 微信 |
|
|
|
|
|
| ----------------------------------------- | ------------------------------------------- |
|
|
|
|
|
| ![支付宝扫码](./static/images/alipay.jpg) | ![微信扫码](./static/images/appreciate.jpg) |
|
|
|
|
|
|
2024-11-29 08:52:47 +02:00
|
|
|
|
## 关注
|
2024-11-21 04:51:55 +02:00
|
|
|
|
|
2024-11-22 12:30:08 +02:00
|
|
|
|
微信公众号搜索 Govin,或扫码,接收更新推送、学习更多使用技巧:
|
2024-11-21 04:51:55 +02:00
|
|
|
|
|
|
|
|
|
![微信公众号](./static/images/qrcode.jpg)
|
|
|
|
|
|
2024-11-29 08:52:47 +02:00
|
|
|
|
## 免责声明
|
2024-10-22 10:33:27 +03:00
|
|
|
|
|
|
|
|
|
本项目仅供学习交流用途,接口数据均来源于网络,如有侵权,请联系删除
|
2024-11-21 05:15:08 +02:00
|
|
|
|
|
2024-11-29 08:52:47 +02:00
|
|
|
|
## 许可证
|
2024-11-21 05:15:08 +02:00
|
|
|
|
|
|
|
|
|
[MIT](./LICENSE) License © 2024-PRESENT [Govin](https://github.com/guovin)
|