Skip to content

armgit / Scout

Public Imported from GitHub
0

Free lead generation tool. Scrape Instagram, Twitch, TikTok, and LinkedIn profiles. Extract emails from bios, verify via SMTP, export to CSV.

Fix infinite loop on EOF from piped/non-interactive stdin (#2)

Salman Emad183868d4fe4b
diff --git a/scout.py b/scout.py
index bc9caa5..4f5d42c 100644
--- a/scout.py
+++ b/scout.py
@@ -1131,6 +1131,9 @@ def main():
except KeyboardInterrupt:
console.print("\n\n[yellow]Exiting...[/yellow]")
break
+ except EOFError:
+ console.print("\n[yellow]No more input, exiting.[/yellow]")
+ break
except Exception as e:
console.print(f"\n[red]✗ Error: {e}[/red]")