[30388f42] Infrastructure Hardening: Repaired CE/Connector DB schema, fixed frontend styling build, implemented robust echo shield in worker v2.1.1, and integrated Lead Engine into gateway.
This commit is contained in:
27
ARCHIVE_legacy_scripts/debug_igepa_dump.py
Normal file
27
ARCHIVE_legacy_scripts/debug_igepa_dump.py
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
import requests
|
||||
from bs4 import BeautifulSoup
|
||||
|
||||
url = "https://www.igepa.de/"
|
||||
print(f"Fetching {url}...")
|
||||
|
||||
try:
|
||||
headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36'}
|
||||
response = requests.get(url, headers=headers, verify=False, timeout=15)
|
||||
|
||||
soup = BeautifulSoup(response.content, 'html.parser')
|
||||
|
||||
print(f"Page Title: {soup.title.string if soup.title else 'No Title'}")
|
||||
|
||||
print("\n--- All Links (First 50) ---")
|
||||
count = 0
|
||||
for a in soup.find_all('a', href=True):
|
||||
text = a.get_text().strip().replace('\n', ' ')
|
||||
href = a['href']
|
||||
print(f"[{count}] {text[:30]}... -> {href}")
|
||||
count += 1
|
||||
if count > 50: break
|
||||
|
||||
except Exception as e:
|
||||
print(f"Error: {e}")
|
||||
|
||||
Reference in New Issue
Block a user