Last active
March 4, 2021 15:18
-
-
Save mnmkng/c1478016bfe1c6c562b5a3e2f7a18855 to your computer and use it in GitHub Desktop.
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 Apify = require('apify'); | |
Apify.main(async () => { | |
// Get the HTML of a web page | |
const { body } = await Apify.utils.requestAsBrowser({ url: 'https://www.example.com' }); | |
console.log(body); | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment