Add tqdm and tabulate, improve bruteforce progress reporting

This commit is contained in:
√(noham)²
2025-11-30 16:14:49 +01:00
parent 9806154240
commit 764df27f09
6 changed files with 95 additions and 61 deletions

View File

@@ -383,12 +383,9 @@ async def fetch_segment(session, ticks, track_id):
try:
async with session.get(url, headers=headers) as resp:
if resp.status == 200:
print(f"{ticks} → 200 OK")
return ticks
print(f"{ticks}{resp.status}")
return None
except aiohttp.ClientError as e:
print(f"⚠️ {ticks}{e}")
except aiohttp.ClientError:
return None
def get_init(track_id):