spiderforce4ai 1.4__py3-none-any.whl → 1.5__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- spiderforce4ai/__init__.py +14 -6
- {spiderforce4ai-1.4.dist-info → spiderforce4ai-1.5.dist-info}/METADATA +1 -1
- spiderforce4ai-1.5.dist-info/RECORD +5 -0
- spiderforce4ai-1.4.dist-info/RECORD +0 -5
- {spiderforce4ai-1.4.dist-info → spiderforce4ai-1.5.dist-info}/WHEEL +0 -0
- {spiderforce4ai-1.4.dist-info → spiderforce4ai-1.5.dist-info}/top_level.txt +0 -0
spiderforce4ai/__init__.py
CHANGED
@@ -296,17 +296,25 @@ class SpiderForce4AI:
|
|
296
296
|
|
297
297
|
results.append(result)
|
298
298
|
|
299
|
-
#
|
300
|
-
if config.save_reports:
|
301
|
-
self._save_report_sync(results, config)
|
302
|
-
print(f"\nReport saved to: {config.report_file}")
|
303
|
-
|
304
|
-
# Print summary
|
299
|
+
# Calculate statistics
|
305
300
|
successful = len([r for r in results if r.status == "success"])
|
306
301
|
failed = len([r for r in results if r.status == "failed"])
|
302
|
+
|
303
|
+
# Print summary
|
307
304
|
print(f"\nParallel processing completed:")
|
308
305
|
print(f"✓ Successful: {successful}")
|
309
306
|
print(f"✗ Failed: {failed}")
|
307
|
+
|
308
|
+
# Save report if enabled
|
309
|
+
if config.save_reports and config.report_file:
|
310
|
+
self._retry_stats = {
|
311
|
+
"initial_failures": failed,
|
312
|
+
"failure_ratio": (failed / len(urls)) * 100,
|
313
|
+
"retry_successful": 0, # No retries in server parallel mode
|
314
|
+
"retry_failed": failed
|
315
|
+
}
|
316
|
+
self._save_report_sync(results, config)
|
317
|
+
console.print(f"📊 Report saved to: {config.report_file}")
|
310
318
|
|
311
319
|
return results
|
312
320
|
|
@@ -0,0 +1,5 @@
|
|
1
|
+
spiderforce4ai/__init__.py,sha256=lUCuNzYKjsYRLgP1ULSfAXnDSoLn91vYf71zOZFGmPg,30936
|
2
|
+
spiderforce4ai-1.5.dist-info/METADATA,sha256=uHgxa-sPwP805d0jM3-LrDOLayfKqxtpxqvZMsFnizo,7183
|
3
|
+
spiderforce4ai-1.5.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
4
|
+
spiderforce4ai-1.5.dist-info/top_level.txt,sha256=Kth7A21Js7DCp0j5XBBi-FE45SCLouZkeNZU__Yr9Yk,15
|
5
|
+
spiderforce4ai-1.5.dist-info/RECORD,,
|
@@ -1,5 +0,0 @@
|
|
1
|
-
spiderforce4ai/__init__.py,sha256=7EMEEfFY3WLq58-vnK1Yhcb1trF2ZXU-Ny3licz45Yk,30585
|
2
|
-
spiderforce4ai-1.4.dist-info/METADATA,sha256=7GRBz_bTtXOQ2N-gHRPJFEWW8mmOB_1gwrJCf-el8LM,7183
|
3
|
-
spiderforce4ai-1.4.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
4
|
-
spiderforce4ai-1.4.dist-info/top_level.txt,sha256=Kth7A21Js7DCp0j5XBBi-FE45SCLouZkeNZU__Yr9Yk,15
|
5
|
-
spiderforce4ai-1.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|