mirror of
https://github.com/mahdibland/V2RayAggregator.git
synced 2026-06-24 21:34:12 +08:00
Update eternity_convert.py
This commit is contained in:
parent
90717e8a3f
commit
71937dc2e7
@ -44,7 +44,7 @@ def eternity_convert(file, config, output, provider_file_enabled=True):
|
||||
if line != 'proxies:':
|
||||
#####
|
||||
print(line)
|
||||
line_json = json.loads(line.replace('\n', ''))
|
||||
line_json = json.loads(line.replace('\n', '').replace('- ', ''))
|
||||
server_name = line_json["name"]
|
||||
server_type = line_json["type"]
|
||||
log_lines[indexx] = "name: %s | type: %s | %s" % (server_name, server_type, line)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user