const port = 33843; const express = require('express'); const app = express(); const simple = require('./scraper/simple'); const headless = require('./scraper/headless'); app.use(express.urlencoded({ extended: true })); app.get('/', (req, res) => { const routes = [ '/simple', '/simple/details', '/headless', '/headless/details', '/headless/comments' ]; const html = routes.map(route => `
`).join('