feat: Implement mobile application and lead processing utilities.
This commit is contained in:
20
scripts/find_emails_in_dump.py
Normal file
20
scripts/find_emails_in_dump.py
Normal file
@@ -0,0 +1,20 @@
|
||||
import re
|
||||
|
||||
file_path = 'cologne_duesseldorf_data/duesseldorf_raw.txt'
|
||||
|
||||
try:
|
||||
with open(file_path, 'r', encoding='utf-8') as f:
|
||||
lines = f.readlines()
|
||||
|
||||
print(f"Total lines: {len(lines)}")
|
||||
|
||||
found_emails = 0
|
||||
for i, line in enumerate(lines):
|
||||
if "@" in line:
|
||||
print(f"Line {i+1}: {line.strip()}")
|
||||
found_emails += 1
|
||||
|
||||
print(f"Found {found_emails} lines with '@'")
|
||||
|
||||
except Exception as e:
|
||||
print(f"Error: {e}")
|
||||
Reference in New Issue
Block a user