A serverless-ready Node.js API built with Express, Puppeteer, and Stealth plugins to extract structured data, intercept background API network responses, capture media streams, and clone UI templates from any webpage.
- Data & API Extraction (
/api/scrape): Intercepts.m3u8/.mp4video streams and JSON network payloads while parsing metadata, headings, main images, and embedded resources. - UI Cloning (
/api/clone-ui): Clones static DOM structures by neutralizing scripts, inline event listeners, and external redirects while maintaining absolute relative asset paths. - Stealth Anti-Bot Bypass: Integrated with
puppeteer-extra-plugin-stealthto bypass basic anti-bot and Cloudflare checks. - Serverless & Local Compatibility: Seamlessly switches between local Chromium binaries and
@sparticuz/chromiumfor execution on serverless platforms like Vercel.
- Backend: Node.js, Express.js, CORS
- Automation & Scraping: Puppeteer,
puppeteer-core,puppeteer-extra,puppeteer-extra-plugin-stealth - Serverless Runtime:
@sparticuz/chromium
git clone [https://github.com/manisbhusal/ScrapeAny.git](https://github.com/manisbhusal/ScrapeAny.git)
cd ScrapeAnynpm installnpm start
The server will start at http://localhost:3000.
Endpoint: POST /api/scrape
Headers: Content-Type: application/json
// Request Body
{
"url": "[https://example.com](https://example.com)"
}Endpoint: POST /api/clone-ui
Headers: Content-Type: application/json
// Request Body
{
"url": "[https://example.com](https://example.com)"
}- Install the Vercel CLI or connect your GitHub repository to Vercel.
- Ensure your
vercel.jsonroutes match the serverless entry point:
{
"version": 2,
"builds": [
{
"src": "server.js",
"use": "@vercel/node",
"config": {
"maxDuration": 30
}
},
{
"src": "index.html",
"use": "@vercel/static"
}
],
"routes": [
{
"src": "/api/(.*)",
"dest": "server.js"
},
{
"src": "/(.*)",
"dest": "index.html"
}
]
}- A guy with no skill 🍝
"Cooking code, Serving bugs"
If you find this project helpful (or feel bad for my bugs), consider supporting me:
Or simply click the link directly: https://cr8.rs/kiwiixen