Compare commits

..

4 Commits

Author SHA1 Message Date
tdc
a16d176f5b Merge branch 'master' of https://github.com/FutaGuard/LowTechFilter 2024-05-21 15:23:45 +08:00
tdc
2cdf44f54b 🐛 165 有空集合 2024-05-21 15:23:38 +08:00
踢低吸
9776aa10d5
Merge pull request #124 from FutaGuard/dependabot/pip/AutoBuild/requests-2.32.0
Bump requests from 2.28.1 to 2.32.0 in /AutoBuild
2024-05-21 11:12:23 +08:00
dependabot[bot]
cf57b72e20
---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 03:07:02 +00:00
2 changed files with 4 additions and 2 deletions

View File

@ -9,7 +9,7 @@ httpx==0.27.0
idna==3.7
lxml==5.2.1
python-dateutil==2.9.0.post0
requests==2.28.1
requests==2.32.0
ruff==0.3.5
six==1.16.0
sniffio==1.3.1

View File

@ -20,7 +20,9 @@ def exclude_list(domain: str) -> bool:
def is_pure_ip(domain: str) -> bool:
return True if re.match(IP_PATTERN, domain) else False
if isinstance(domain, str):
return True if re.match(IP_PATTERN, domain) else False
return True
def main():