Initial commit: unified dashboard suite state with Khira and Image Manipulator 3-file setup

This commit is contained in:
2026-10-26 11:17:13 +05:30
commit 6c60b4ecb8
148 changed files with 128149 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import json
import re
from urllib.parse import urlparse
with open("/home/creserver/Desktop/Vaishno_workspace/Jsons/credentials_23-10-2026.json") as f:
creds = json.load(f)
with open("web/docs/index.html") as f:
html = f.read()
m = re.search(r'<script id="api-data" type="application/json">(.*?)</script>', html, re.DOTALL)
data = json.loads(m.group(1))
# Let's inspect each section and see how eps can be grouped into APIs
print("Original sections:")
for s in data["sections"]:
print(f"- {s['id']}: {s['title']} ({len(s['eps'])} eps)")