Last active
August 29, 2020 20:51
-
-
Save kevinchisholm/ab98b0e67bdb392433abca85dcec56de to your computer and use it in GitHub Desktop.
Scraper API Example # 2 A
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 scraperapiClient = require('scraperapi-sdk')(YOUR_API_KEY); | |
async function scrapePage(){ | |
const scrapeUrl = 'http://examples.kevinchisholm.com/scrape-me/' | |
const scrapeResponse = await scraperapiClient.get(scrapeUrl, {render: true}) | |
console.log(scrapeResponse); | |
} | |
scrapePage(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment