fix(competitor-analysis): final migration fixes and documentation updates

This commit is contained in:
2026-05-15 19:08:54 +00:00
parent efdd134556
commit 84d045421a
5 changed files with 157 additions and 103 deletions

18
patch_linkmagic.py Normal file
View File

@@ -0,0 +1,18 @@
import sys
with open('fotograf-de-scraper/backend/main.py', 'r') as f:
content = f.read()
import re
# Find the start of Link Magic
start = content.find('# --- PHASE 3: Link Magic (Scrape Quick Login URLs) ---')
end = content.find('return len(df)')
if start != -1 and end != -1:
new_content = content[:start] + content[end:]
with open('fotograf-de-scraper/backend/main.py', 'w') as f:
f.write(new_content)
print("Link magic removed successfully")
else:
print("Could not find boundaries")