fix:separator(#581)
This commit is contained in:
parent
e744a3455f
commit
899503136b
@ -215,7 +215,7 @@ def process_fofa_json_url(url, region, open_sort, hotel_name="酒店源"):
|
||||
total_url = (
|
||||
add_url_info(
|
||||
f"{url}{item_url}",
|
||||
f"{region}{hotel_name}|cache:{url}",
|
||||
f"{region}{hotel_name}-cache:{url}",
|
||||
)
|
||||
if open_sort
|
||||
else add_url_info(
|
||||
|
@ -225,7 +225,7 @@ def get_channel_multicast_result(result, search_result):
|
||||
(
|
||||
add_url_info(
|
||||
f"http://{url}/rtp/{ip}",
|
||||
f"{result_region}{result_type}{multicast_name}|cache:{url}",
|
||||
f"{result_region}{result_type}{multicast_name}-cache:{url}",
|
||||
)
|
||||
if config.open_sort
|
||||
else add_url_info(
|
||||
|
@ -507,7 +507,7 @@ def remove_cache_info(str):
|
||||
"""
|
||||
Remove the cache info from the string
|
||||
"""
|
||||
return re.sub(r"cache:.*|\|cache:.*", "", str)
|
||||
return re.sub(r"cache:.*|\-cache:.*", "", str)
|
||||
|
||||
|
||||
def resource_path(relative_path, persistent=False):
|
||||
|
Loading…
x
Reference in New Issue
Block a user