Created
February 8, 2020 21:53
-
-
Save princePeterHansen/3ba817598988515902534dbc633a9420 to your computer and use it in GitHub Desktop.
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 puppeteer = require('puppeteer'); | |
async function run() { | |
const browser = await puppeteer.launch({ headless: false }); | |
const page = await browser.newPage(); | |
const proxy = 'https://proxybot.io/api/v1/API_KEY?url='; | |
const url = 'https://whatismyipaddress.com/'; | |
const pageUrl = proxy + url; | |
await page.goto(pageUrl); | |
} | |
run(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment