CoolFace
Apppublic

kussssh/IPO-Analyzer

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
debug_sebi.py15 linesDownload Raw Back to root
1"""Find PDF URL - dump raw HTML to find the JavaScript that loads the PDF."""2import requests3 4url = "https://www.sebi.gov.in/filings/public-issues/apr-2026/manipal-health-enterprises-limited_100763.html"5headers = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"}6r = requests.get(url, headers=headers, timeout=30)7 8# Dump raw HTML to file for inspection9with open("sebi_raw.html", "w", encoding="utf-8") as f:10    f.write(r.text)11 12print(f"Status: {r.status_code}")13print(f"HTML length: {len(r.text)} chars")14print(f"Saved to sebi_raw.html")15