Created
July 25, 2019 18:51
-
-
Save zakattack9/07d330cd4081a4f606175e63f43e790b to your computer and use it in GitHub Desktop.
Web Scraper Initial Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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