Skip to content

Latest commit

 

History

History
21 lines (21 loc) · 5.56 KB

config_en.md

File metadata and controls

21 lines (21 loc) · 5.56 KB
Configuration Item Default Value Description
open_update True Enable update
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 False 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 function (response speed, date, resolution), or turn it off if it takes a long time to execute
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 ["all"] Multicast source region list, [more regions](./fofa_map.py, "all" means all regions)