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