Merge pull request #1279 from L1ghtn1ng/dev

few slight fixes with liniting an ci
This commit is contained in:
J.Townsend
2022-12-09 23:57:15 +00:00
committed by GitHub
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
max-parallel: 8
matrix:
os: [ ubuntu-latest, macos-latest ]
python-version: [ 3.10.0, 3.11.0 ]
python-version: [ 3.10.9, 3.11 ]
steps:
- uses: actions/checkout@v3
+1 -2
View File
@@ -24,8 +24,7 @@ class SearchBufferover:
host.split(',')if ',' in host and self.word.replace('www.', '') in host.split(',')[0] in host else
host.split(',')[4] for host in dct['Results']}
self.totalips = {ip.split(',')[0] for ip in dct['Results'] if
re.match(r"^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$", ip.split(',')[0])}
self.totalips = {ip.split(',')[0] for ip in dct['Results'] if re.match(r"^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$", ip.split(',')[0])}
async def get_hostnames(self) -> set:
return self.totalhosts