Scrapes downdetector.com 🍳 using Puppeteer and Node.js and responds with JSON message. This doesn't require any subscription and works as your local server.
Paste this into your terminal.
git clone https://github.com/erucix/downdetector-scraper.git
cd downdetector-scraper
npm i puppeteer
node app.js
downdetector.js
can be used as independent library to get message. For example:
const DownDetector = require("./downdetector");
const detector = new DownDetector();
detector.detect("github");
detector.on("response", (msg)=>{
console.log("Response: " + msg)
})
Furthermore to use a custom browser for pupppeteer (in case of linux) use:
export EXEC_PATH=YOUR_PATH_HERE
This is in no way affiliated with downdetector.com 🍳 and thanks for looking over my project 🫡