Puppeteer Scraper
Pricing
Pay per usage
Go to Store
Puppeteer Scraper
0.0 (0)
Pricing
Pay per usage
1
Total users
1
Monthly users
1
Runs succeeded
>99%
Last modified
6 years ago
You can access the Puppeteer Scraper programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
$echo '{< "startUrls": [< {< "url": "https://apify.com"< }< ],< "pseudoUrls": [< {< "purl": "https://apify.com[(/[\\\\w-]+)?]"< }< ],< "linkSelector": "a",< "pageFunction": "async function pageFunction(context) {\\n const { page, request, log } = context;\\n const title = await page.title();\\n log.info(`URL: ${request.url} TITLE: ${title}`);\\n return {\\n url: request.url,\\n title\\n };\\n}",< "proxyConfiguration": {< "useApifyProxy": false< },< "customData": {},< "initialCookies": [],< "preGotoFunction": "async function preGotoFunction({ request, page, Apify }) {\\n /* add your pre-navigation logic here, if needed */\\n}"<}' |<apify call apify/puppeteer-scraper --silent --output-dataset
Puppeteer Scraper API through CLI
The Apify CLI is the official tool that allows you to use Puppeteer Scraper locally, providing convenience functions and automatic retries on errors.
Install the Apify CLI
$npm i -g apify-cli$apify login
Other API clients include: