mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-25 20:37:48 +08:00
屏蔽在线请求
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ class Domain(object):
|
||||
"""
|
||||
data_storage_dir = setting.data_storage_dir
|
||||
extract_cache_file = data_storage_dir.joinpath('public_suffix_list.dat')
|
||||
tldext = tldextract.TLDExtract(extract_cache_file)
|
||||
tldext = tldextract.TLDExtract(extract_cache_file, None)
|
||||
result = self.match()
|
||||
if result:
|
||||
return tldext(result)
|
||||
|
||||
Reference in New Issue
Block a user