fix(competitor-analysis): final migration fixes and documentation updates
This commit is contained in:
15
patch_readme.py
Normal file
15
patch_readme.py
Normal file
@@ -0,0 +1,15 @@
|
||||
import sys
|
||||
|
||||
with open('fotograf-de-scraper/README.md', 'r') as f:
|
||||
content = f.read()
|
||||
|
||||
old_text = "* **Quick-Login Automation:** Die Login-Links (`https://www.kinderfotos-erding.de/a/{code}`) werden automatisch generiert."
|
||||
new_text = "* **Quick-Login Automation:** Komfortabler \"One-Click\" Login-Link. Das System nutzt bevorzugt den via 'Link Magic' gesammelten Direkt-Link (`/gc/xyz`) oder fällt sicher auf die generische Anmeldung (`/login/ZUGANGSCODE`) inkl. automatischer Code-Übergabe zurück."
|
||||
|
||||
if old_text in content:
|
||||
content = content.replace(old_text, new_text)
|
||||
with open('fotograf-de-scraper/README.md', 'w') as f:
|
||||
f.write(content)
|
||||
print("README patched")
|
||||
else:
|
||||
print("Old text not found in README")
|
||||
Reference in New Issue
Block a user