mirror of
https://github.com/FutaGuard/LowTechFilter.git
synced 2025-08-21 12:06:46 +08:00
Compare commits
No commits in common. "a16d176f5b8b52aff28561044fdff83843371fc3" and "968e36f35b328ad95cb1bce538d8e2465635e1de" have entirely different histories.
a16d176f5b
...
968e36f35b
@ -9,7 +9,7 @@ httpx==0.27.0
|
||||
idna==3.7
|
||||
lxml==5.2.1
|
||||
python-dateutil==2.9.0.post0
|
||||
requests==2.32.0
|
||||
requests==2.28.1
|
||||
ruff==0.3.5
|
||||
six==1.16.0
|
||||
sniffio==1.3.1
|
||||
|
@ -20,9 +20,7 @@ def exclude_list(domain: str) -> bool:
|
||||
|
||||
|
||||
def is_pure_ip(domain: str) -> bool:
|
||||
if isinstance(domain, str):
|
||||
return True if re.match(IP_PATTERN, domain) else False
|
||||
return True
|
||||
return True if re.match(IP_PATTERN, domain) else False
|
||||
|
||||
|
||||
def main():
|
||||
|
Loading…
x
Reference in New Issue
Block a user