Last active
August 29, 2020 20:48
-
-
Save kevinchisholm/63942c078173bfdb92cc6c2e754c0fd8 to your computer and use it in GitHub Desktop.
Scraper API Example # 1 A
This file contains hidden or 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) | |
console.log(scrapeResponse); | |
} | |
scrapePage(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment