From 4e3ef5d207f7aba8671a986d57299a21653e7012 Mon Sep 17 00:00:00 2001 From: Bram Date: Sun, 13 Jul 2025 14:46:10 +0200 Subject: [PATCH] remove /json route --- Dockers/puppeteer-api/README.md | 12 ----- Dockers/puppeteer-api/app/routes/browser.py | 29 ----------- Dockers/puppeteer-api/app/services/browser.py | 51 ------------------- 3 files changed, 92 deletions(-) diff --git a/Dockers/puppeteer-api/README.md b/Dockers/puppeteer-api/README.md index 6436267..051dda7 100644 --- a/Dockers/puppeteer-api/README.md +++ b/Dockers/puppeteer-api/README.md @@ -91,17 +91,8 @@ RATE_LIMIT_MINUTE=60 # Requests per minute (default: 60) - `GET /` - Visit URL and get HTML content - `GET /seo` - Extract SEO information - `GET /meta` - Extract meta tags and Open Graph data -- `GET /json` - Fetch JSON content from a website - `GET /resulting-url` - Get the final URL after navigation (handles redirects) -The `/json` endpoint intelligently extracts JSON data from websites by: - -- Directly parsing JSON responses (when Content-Type is application/json) -- Extracting JSON from `