Skip to content

Commit a123eb6

Browse files
committed
feat:local channels
1 parent 2e6ad4c commit a123eb6

File tree

6 files changed

+1386
-12
lines changed

6 files changed

+1386
-12
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@
2121
</div>
2222
<br>
2323
<div>
24-
🏠广东频道: 广东珠江, 广东体育, 广东新闻, 广东民生, 广东卫视, 大湾区卫视, 广州综合, 广州影视, 广州竞赛, 江门综合, 江门侨乡生活, 佛山综合, 深圳卫视, 汕头综合, 汕头经济, 汕头文旅, 茂名综合, 茂名公共
24+
☘️广东频道: 广东珠江, 广东体育, 广东新闻, 广东民生, 广东卫视, 大湾区卫视, 广州综合, 广州影视, 广州竞赛, 江门综合, 江门侨乡生活, 佛山综合, 深圳卫视, 汕头综合, 汕头经济, 汕头文旅, 茂名综合, 茂名公共
25+
</div>
26+
<br>
27+
<div>
28+
☘️各省份地方台
2529
</div>
2630
<br>
2731
<div>
@@ -152,37 +156,46 @@ pipenv run ui
152156
建议都试用一次,选择自己合适的版本
153157

154158
1. 拉取镜像:
159+
155160
- driver:
161+
156162
```bash
157163
docker pull guovern/tv-driver:latest
158164
```
159165

160166
- requests:
167+
161168
```bash
162169
docker pull guovern/tv-requests:latest
163170
```
164171

165172
2. 运行容器:
173+
166174
- driver:
175+
167176
```bash
168177
docker run -d -p 8000:8000 guovern/tv-driver
169178
```
170179

171180
- requests:
181+
172182
```bash
173183
docker run -d -p 8000:8000 guovern/tv-requests
174184
```
175185

176186
卷挂载参数(可选):
177187
实现宿主机文件与容器文件同步,修改模板、配置、获取更新结果文件可直接在宿主机文件夹下操作
178188

179-
以宿主机路径/etc/docker为例:
189+
以宿主机路径/etc/docker 为例:
190+
180191
- driver:
192+
181193
```bash
182194
docker run -v /etc/docker/config:/tv-driver/config -v /etc/docker/output:/tv-driver/output -d -p 8000:8000 guovern/tv-driver
183195
```
184196

185197
- requests:
198+
186199
```bash
187200
docker run -v /etc/docker/config:/tv-requests/config -v /etc/docker/output:/tv-requests/output -d -p 8000:8000 guovern/tv-requests
188201
```

README_en.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@
2121
</div>
2222
<br>
2323
<div>
24-
🏠Guangdong Channel: 广东珠江, 广东体育, 广东新闻, 广东民生, 广东卫视, 大湾区卫视, 广州综合, 广州影视, 广州竞赛, 江门综合, 江门侨乡生活, 佛山综合, 深圳卫视, 汕头综合, 汕头经济, 汕头文旅, 茂名综合, 茂名公共
24+
☘️Guangdong Channel: 广东珠江, 广东体育, 广东新闻, 广东民生, 广东卫视, 大湾区卫视, 广州综合, 广州影视, 广州竞赛, 江门综合, 江门侨乡生活, 佛山综合, 深圳卫视, 汕头综合, 汕头经济, 汕头文旅, 茂名综合, 茂名公共
25+
</div>
26+
<br>
27+
<div>
28+
☘️Local channels in each province
2529
</div>
2630
<br>
2731
<div>
@@ -152,23 +156,29 @@ pipenv run ui
152156
It's recommended to try each one and choose the version that suits you
153157

154158
1. Pull the image:
159+
155160
- driver
161+
156162
```bash
157163
docker pull guovern/tv-driver:latest
158164
```
159165

160166
- requests
167+
161168
```bash
162169
docker pull guovern/tv-requests:latest
163170
```
164171

165172
2. Run the container:
173+
166174
- driver
175+
167176
```bash
168177
docker run -d -p 8000:8000 guovern/tv-driver
169178
```
170179

171180
- requests
181+
172182
```bash
173183
docker run -d -p 8000:8000 guovern/tv-requests
174184
```
@@ -179,14 +189,16 @@ This allows synchronization of files between the host machine and the container.
179189
Taking the host path /etc/docker as an example:
180190

181191
- driver:
192+
182193
```bash
183194
docker run -v /etc/docker/config:/tv-driver/config -v /etc/docker/output:/tv-driver/output -d -p 8000:8000 guovern/tv-driver
184195
```
185196

186197
- requests:
198+
187199
```bash
188200
docker run -v /etc/docker/config:/tv-requests/config -v /etc/docker/output:/tv-requests/output -d -p 8000:8000 guovern/tv-requests
189-
````
201+
```
190202

191203
3. Check the update results: Visit (domain:8000)
192204

config/config.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ resolution_weight = 0.5
1818
recent_days = 30
1919
ipv_type = 全部
2020
ipv_type_prefer = 自动
21-
ipv4_num = 15
22-
ipv6_num = 15
21+
ipv4_num = 5
22+
ipv6_num = 5
2323
domain_blacklist = epg.pw,skype.serv00.net,iptv.yjxfz.com,live-hls-web-ajb.getaj.net,live.goodiptv.club,hc73k3dhwo5gfkt.wcetv.com,stream1.freetv.fun,zw9999.cnstream.top
2424
open_m3u_result = True
2525
url_keywords_blacklist =
@@ -40,9 +40,9 @@ hotel_page_num = 1
4040
open_update_time = True
4141
request_timeout = 10
4242
origin_type_prefer = hotel,multicast,subscribe,online_search
43-
hotel_num = 10
44-
multicast_num = 10
45-
subscribe_num = 10
43+
hotel_num = 4
44+
multicast_num = 3
45+
subscribe_num = 3
4646
online_search_num = 0
4747
open_url_info = True
48-
open_empty_category = True
48+
open_empty_category = False

0 commit comments

Comments
 (0)