fix(competitor-analysis): final migration fixes and documentation updates
This commit is contained in:
18
patch_linkmagic.py
Normal file
18
patch_linkmagic.py
Normal 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")
|
||||
Reference in New Issue
Block a user