Skip to content

Latest commit

 

History

History
47 lines (47 loc) · 20.2 KB

config_en.md

File metadata and controls

47 lines (47 loc) · 20.2 KB
Configuration Item Default Value Description
open_service True Enable page service, used to control whether to start the result page service; if deployed on platforms like Qinglong with dedicated scheduled tasks, the function can be turned off after updates are completed and the task is stopped
open_update True Enable updates, if disabled then only the result page service is run
open_use_old_result True Enable the use of historical update results (including the interface for template and result files) and merge them into the current update
open_driver True Enable browser execution, If there are no updates, this mode can be enabled, which consumes more performance
open_proxy False Enable proxy, automatically obtains free available proxies, If there are no updates, this mode can be enabled
source_file config/demo.txt Template file path
final_file output/result.txt Generated result file path
open_online_search False Enable keyword search source feature
online_search_page_num 1 Page retrieval quantity for keyword search channels
urls_limit 10 Number of interfaces per channel
open_keep_all False Retain all search results, retain results with non-template channel names, recommended to be turned on when manually maintaining
open_sort True Enable the sorting function (response speed, date, resolution)
sort_timeout 5 The timeout duration for speed testing of a single interface, in seconds (s). A larger value means a longer testing period, which can increase the number of interfaces obtained but may decrease their quality. A smaller value means a shorter testing time, which can obtain low-latency interfaces with better quality. Adjusting this value can optimize the update time.
open_ffmpeg True Enable speed testing using FFmpeg to obtain more accurate speed and resolution information. Manual installation is required in advance.
open_m3u_result True Enable the conversion to generate m3u file type result links, supporting the display of channel icons
open_filter_resolution True Enable resolution filtering, interfaces with resolution lower than the minimum resolution (min_resolution) will be filtered
min_resolution 1920x1080 Minimum interface resolution, requires enabling open_filter_resolution to take effect
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 all The protocol type of interface in the generated result, optional values: ipv4, ipv6, all
ipv_type_prefer auto Interface protocol type preference, prioritize interfaces of this type in the results, optional values: IPv4, IPv6, auto
ipv4_num 5 The preferred number of IPv4 interfaces in the result
ipv6_num 5 The preferred number of IPv6 interfaces in the result
url_keywords_blacklist Interface keyword blacklist, used to filter out interfaces containing specific characters
open_subscribe True Enable subscription source feature
subscribe_urls Subscription source, please enter the subscription link (supports txt and m3u links), multiple links should be separated by commas
open_multicast True Enable the multicast source function, after disabling it all multicast sources will stop working
open_multicast_foodie True Enable Foodie multicast source work mode
open_multicast_fofa True Enable FOFA multicast source work mode
multicast_region_list all Multicast source region list, [more regions](../updates/multicast/multicast_map.json, all means all regions)
multicast_page_num 1 Number of pages to retrieve for multicast regions
open_hotel True Enable the hotel source function, after closing it all hotel source working modes will be disabled
open_hotel_foodie True Enable Foodie hotel source work mode
open_hotel_fofa True Enable FOFA、ZoomEye hotel source work mode
hotel_region_list all List of hotel source regions, more regions, 'all' indicates all regions
hotel_page_num 1 Number of pages to retrieve for hotel regions
request_timeout 10 Query request timeout duration, in seconds (s), used to control the timeout and retry duration for querying interface text links. Adjusting this value can optimize update time.
origin_type_prefer hotel, multicast, subscribe, online_search Result preference for the source of the interface, results are prioritized in this order: hotel: hotel source, multicast: multicast source, subscribe: subscription source, online_search: keyword search
hotel_num 4 The number of preferred hotel source interfaces in the results
multicast_num 3 The number of preferred multicast source interfaces in the results
subscribe_num 3 The number of preferred subscribe source interfaces in the results
online_search_num 0 The number of preferred keyword search interfaces in the results
open_url_info True Enable display of API description information, used to control whether to show resolution, API protocol type, etc., the content after the $ symbol, playback software uses this information to describe the API
open_empty_category False Enable the No Results Channel Category, which will automatically categorize channels without results to the bottom