Skip to content

Instantly share code, notes, and snippets.

@zakattack9
Created July 25, 2019 18:51
Show Gist options
  • Save zakattack9/07d330cd4081a4f606175e63f43e790b to your computer and use it in GitHub Desktop.
Save zakattack9/07d330cd4081a4f606175e63f43e790b to your computer and use it in GitHub Desktop.
Web Scraper Initial Setup
const express = require('express');
const cheerio = require('cheerio');
const cloudscraper = require('cloudscraper');
const app = express();
const port = process.env.PORT || 5000;
app.get('/scrape', function (req, res) {
res.send('Hello World');
})
app.listen(port, () => console.log(`Listening on port ${port}`));
module.exports = app;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment