修复 clash domain_suffix 错误

This commit is contained in:
Dorae 2023-12-24 12:33:36 +08:00 committed by GitHub
parent e1d2e42439
commit 672e90f348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,6 +42,8 @@ def parse_and_convert_to_dataframe(link):
if address.startswith('+'):
pattern = 'DOMAIN-SUFFIX'
address = address[1:]
if address.startswith('.'):
address = address[2:]
else:
pattern = 'DOMAIN'
else: