설명 없음

Govin 788be749f1 Merge pull request #112 from Guovin/dev 2 일 전
.github 62021d7903 fix: BRANCH_NAME 1 주 전
.idea 044a90ce3f init 3 달 전
docs 08a8f24cbf chore: update default 2 일 전
.gitignore 1b42ce91d6 chore:remove 2 주 전
CHANGELOG.md 85b4581680 release:v1.1.4 2 일 전
LICENSE 7ddefd5bdd feat:config and LICENSE 2 달 전
Pipfile 9881b5de34 security: tqdm 1 주 전
Pipfile.lock 9881b5de34 security: tqdm 1 주 전
README-EN.md 08a8f24cbf chore: update default 2 일 전
README.md 08a8f24cbf chore: update default 2 일 전
config.py 85b4581680 release:v1.1.4 2 일 전
demo.txt 73509fb82d chore:demo 2 주 전
fofa_map.py 63423b76e1 feat:region channel 2 일 전
main.py 85b4581680 release:v1.1.4 2 일 전
source.json ef2656bd59 feat:source.json 3 달 전
utils.py 85b4581680 release:v1.1.4 2 일 전
version.json 85b4581680 release:v1.1.4 2 일 전

README-EN.md

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.

中文 | 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
  • The maximum number of channels that can be updated in the workflow is 200, while there is no limit when running locally
  • 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

Configuration Item Default Value Description
source_file "demo.txt" Template file name
final_file "result.txt" Generated file name
favorite_list ["广东珠江","CCTV-1","CCTV-5","CCTV-5+","CCTV-13","广东体育","广东卫视","大湾区卫视","浙江卫视","湖南卫视","翡翠台"] List of favorite channel names (used only to distinguish from regular channels, custom page retrieval quantity)
open_online_search True Enable online search source feature
favorite_page_num 5 Page retrieval quantity for favorite channels
default_page_num 3 Page retrieval quantity for regular channels
urls_limit 10 Number of interfaces per channel
open_sort True Enable the sorting test function, it is recommended to turn it off if you are not using online search
response_time_weight 0.5 Response time weight value (the sum of all weight values should be 1)
resolution_weight 0.5 Resolution weight value (the sum of all weight values should be 1)
recent_days 30 Retrieve interfaces updated within a recent time range (in days), reducing appropriately can avoid matching issues
ipv_type "ipv4" The type of interface in the generated result, optional values: "ipv4", "ipv6", "all"
domain_blacklist ["epg.pw"] Interface domain blacklist, used to filter out interfaces with low-quality, ad-inclusive domains
url_keywords_blacklist [] Interface keyword blacklist, used to filter out interfaces containing specific characters
open_subscribe True Enable subscription source feature
subscribe_urls ["https://m3u.ibert.me/txt/fmml_dv6.txt",
"https://m3u.ibert.me/txt/o_cn.txt",
"https://m3u.ibert.me/txt/j_iptv.txt"]
Subscription source list
open_multicast True Enable multicast source function
region_list ["广东"] Multicast source region list, for more regions please see the fofa_map.py file
strict_match False Strict matching, when enabled, can minimize the issue of channel interface mismatch to the greatest extent, but at the same time, some fuzzy matching results may be lost

Quick Start

For detailed tutorial, please see Quick Start

If you don't want to bother, and my configuration just meets your needs, you can use the following links:

Changelog

Changelog

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.

GitHub Terms of Service

When forking or using this project, you must comply with the GitHub Terms of Service. This includes, but is not limited to, the prohibition of uploading content that infringes copyright, is illegal, malicious, or violates our terms. Any violation of these provisions may result in the termination of your account. When using this project, please ensure that your behavior complies with these provisions.

If you do not agree to comply with these terms, you should stop using the code and data of this project immediately.

The use of the code or data of this project means that you have understood and accepted these terms.

License

MIT License © 2024-PRESENT Govin