-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #144 from Guovin/dev
Update
- Loading branch information
Showing
7 changed files
with
86 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# TVBox Custom TV Channel Menu and Live Source Interface Automatic Verification and Update Tool | ||
|
||
Customize channel menus and automatically obtain and update the latest live source interfaces based on template files, verify, and generate usable channel interface files. | ||
|
||
[中文](./README.md) | English | ||
|
||
## Features | ||
|
||
- Customize templates to generate the channel categories and order you want | ||
- Interface validation to filter out invalid interfaces | ||
- Comprehensive sorting based on response time and resolution | ||
- Scheduled execution, updates every day at 8:00 am Beijing time | ||
- Set up key focus channels and configure the number of pages fetched separately | ||
- Pagination results retrieval (configurable number of pages and interfaces) | ||
- Ensure update timeliness, configure to retrieve interfaces updated within a recent time range | ||
- Can filter ipv4, ipv6 interfaces | ||
- Blacklist feature: Interface domain and keywords | ||
- Supports multiple ways of obtaining sources: online search, multicast source, subscription source | ||
|
||
## Config | ||
|
||
[Config parameter](./docs/config_en.md] | ||
|
||
## Quick Start | ||
|
||
[Update tool software](https://github.com/Guovin/TV/releases) | ||
|
||
For detailed tutorial, please see [Quick Start](./docs/tutorial_en.md) | ||
|
||
If you don't want to bother, and my configuration just meets your needs, you can use the following links: | ||
|
||
- Interface source: https://ghproxy.net/raw.githubusercontent.com/Guovin/TV/gd/result.txt | ||
- Data source: https://ghproxy.net/raw.githubusercontent.com/Guovin/TV/gd/source.json | ||
|
||
## Changelog | ||
|
||
[Changelog](./CHANGELOG.md) | ||
|
||
## Disclaimer | ||
|
||
This project is provided for programming learning and research resources. The data collected in the project comes from the network, and the developer does not make any guarantees about the accuracy, completeness, or reliability of the data. | ||
|
||
The developer is not responsible for any direct or indirect losses that may be caused by the use of these codes or data. Users should judge the legality and risk of their use by themselves. | ||
|
||
The code and data of this project are only for learning and research use, and must not be used for any commercial purposes. Anyone or organization should abide by relevant laws and regulations when using it, respect and protect the rights and interests of developers. | ||
|
||
If you use the code or data of this project, it means that you have understood and agreed to this disclaimer. If you do not agree with this disclaimer, you should stop using the code and data of this project immediately. | ||
|
||
In addition, the code and data of this project may be updated irregularly, but there is no guarantee of the timeliness and accuracy of the update, nor the stability and functionality of the code. | ||
|
||
In any case, the developer and any contributor do not assume any responsibility for any damage or other liability caused by the use or inability to use the code or data of this project. | ||
|
||
Using the code or data of this project means that you have understood and accepted these terms. | ||
|
||
## License | ||
|
||
[MIT](./LICENSE) License © 2024-PRESENT [Govin](https://github.com/guovin) | ||
|
||
## Appreciate | ||
|
||
![image](./docs/images/appreciate.jpg) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
| 配置项 | 默认值 | 描述 | | ||
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- | | ||
| source_file | "demo.txt" | 模板文件名称 | | ||
| final_file | "result.txt" | 生成文件名称 | | ||
| favorite_list | ["广东珠江","CCTV-1","CCTV-5","CCTV-5+","CCTV-13","广东体育","广东卫视","大湾区卫视","浙江卫视","湖南卫视","翡翠台"] | 关注频道名称列表(仅用于与常规频道区分,自定义获取分页数量) | | ||
| open_online_search | False | 开启线上检索源功能 | | ||
| favorite_page_num | 5 | 关注频道获取分页数量 | | ||
| default_page_num | 3 | 常规频道获取分页数量 | | ||
| urls_limit | 10 | 单个频道接口数量 | | ||
| open_sort | True | 开启排序功能(响应速度、日期、分辨率),若更执行时间较长可关闭此功能 | | ||
| response_time_weight | 0.5 | 响应时间权重值(所有权重值总和应为 1) | | ||
| resolution_weight | 0.5 | 分辨率权重值 (所有权重值总和应为 1) | | ||
| recent_days | 30 | 获取最近时间范围内更新的接口(单位天),适当减小可避免出现匹配问题 | | ||
| ipv_type | "ipv4" | 生成结果中接口的类型,可选值:"ipv4"、"ipv6"、"all" | | ||
| domain_blacklist | ["epg.pw"] | 接口域名黑名单,用于过滤低质量含广告类域名的接口 | | ||
| url_keywords_blacklist | [] | 接口关键字黑名单,用于过滤含特定字符的接口 | | ||
| open_subscribe | True | 开启订阅源功能 | | ||
| subscribe_urls | ["https://m3u.ibert.me/txt/fmml_dv6.txt",<br>"https://m3u.ibert.me/txt/o_cn.txt",<br>"https://m3u.ibert.me/txt/j_iptv.txt"] | 订阅源列表 | | ||
| open_multicast | True | 开启组播源功能 | | ||
| region_list | ["all"] | 组播源地区列表,[更多地区](./fofa_map.py),"all"表示所有地区 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# 使用教程 | ||
|
||
[English](./tutorial-EN.md) | 中文 | ||
[English](./tutorial_en.md) | 中文 | ||
|
||
## 步骤一:Fork 本项目 | ||
|
||
|
File renamed without changes.