fuck
This commit is contained in:
parent
f7c797c851
commit
1819c7dc48
@ -6,4 +6,4 @@ from .scanner import HTTPZScanner
|
|||||||
from .colors import Colors
|
from .colors import Colors
|
||||||
|
|
||||||
|
|
||||||
__version__ = '2.0.2'
|
__version__ = '2.0.3'
|
@ -229,8 +229,8 @@ class HTTPZScanner:
|
|||||||
# Handle different input types
|
# Handle different input types
|
||||||
if isinstance(input_source, str):
|
if isinstance(input_source, str):
|
||||||
# File or stdin input
|
# File or stdin input
|
||||||
domain_iter = input_generator(input_source, self.shard)
|
gen = input_generator(input_source, self.shard)
|
||||||
for domain in domain_iter:
|
async for domain in gen:
|
||||||
if len(tasks) >= self.concurrent_limit:
|
if len(tasks) >= self.concurrent_limit:
|
||||||
done, tasks = await asyncio.wait(
|
done, tasks = await asyncio.wait(
|
||||||
tasks, return_when=asyncio.FIRST_COMPLETED
|
tasks, return_when=asyncio.FIRST_COMPLETED
|
||||||
|
2
setup.py
2
setup.py
@ -10,7 +10,7 @@ with open('README.md', 'r', encoding='utf-8') as f:
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='httpz_scanner',
|
name='httpz_scanner',
|
||||||
version='2.0.2',
|
version='2.0.3',
|
||||||
author='acidvegas',
|
author='acidvegas',
|
||||||
author_email='acid.vegas@acid.vegas',
|
author_email='acid.vegas@acid.vegas',
|
||||||
description='Hyper-fast HTTP Scraping Tool',
|
description='Hyper-fast HTTP Scraping Tool',
|
||||||
|
Loading…
Reference in New Issue
Block a user