ShadowHunter222 commited on
Commit
1441047
Β·
verified Β·
1 Parent(s): 560ee8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -1
app.py CHANGED
@@ -778,7 +778,20 @@ async def check_rate_limit(client_ip: str = "127.0.0.1"):
778
 
779
  # ─── API Endpoints ───────────────────────────────────────────────────────────
780
 
781
-
 
 
 
 
 
 
 
 
 
 
 
 
 
782
 
783
 
784
  @app.post("/scrape", response_model=ScraperResponse)
 
778
 
779
  # ─── API Endpoints ───────────────────────────────────────────────────────────
780
 
781
+ @app.get("/")
782
+ async def root():
783
+ return {
784
+ "message": "NeuralStream Scraping API β€” Production Ready",
785
+ "version": "2.1.0",
786
+ "features": [
787
+ "Dual Crawler (Persistent Search + Parallel arun_many Scrape)",
788
+ "MemoryAdaptiveDispatcher (auto-scales tabs by RAM)",
789
+ "Smart Routing (httpx for GitHub/HF, Browser for JS sites)",
790
+ "SSE Real-Time Streaming (POST /scrape/stream)",
791
+ "Three-Channel Parallel Scraping",
792
+ "Graceful Fallback Chain",
793
+ ],
794
+ }
795
 
796
 
797
  @app.post("/scrape", response_model=ScraperResponse)