fix:resolution value(#744)
This commit is contained in:
parent
56de7e5868
commit
7ed41d4891
utils
@ -603,7 +603,7 @@ async def process_sort_channel_list(data, ipv6=False, callback=None):
|
||||
open_filter_speed = config.open_filter_speed
|
||||
open_filter_resolution = config.open_filter_resolution
|
||||
min_speed = config.min_speed
|
||||
min_resolution = config.min_resolution
|
||||
min_resolution = config.min_resolution_value
|
||||
for cate, obj in data.items():
|
||||
for name, info_list in obj.items():
|
||||
info_list = sort_urls(name, info_list, supply=open_supply, filter_speed=open_filter_speed,
|
||||
|
@ -299,7 +299,7 @@ async def get_speed(url, ipv6_proxy=None, filter_resolution=config.open_filter_r
|
||||
|
||||
|
||||
def sort_urls(name, data, supply=config.open_supply, filter_speed=config.open_filter_speed, min_speed=config.min_speed,
|
||||
filter_resolution=config.open_filter_resolution, min_resolution=config.min_resolution,
|
||||
filter_resolution=config.open_filter_resolution, min_resolution=config.min_resolution_value,
|
||||
logger=None):
|
||||
"""
|
||||
Sort the urls with info
|
||||
|
Loading…
x
Reference in New Issue
Block a user