Crawler Puppeteer avatar
Crawler Puppeteer

Pricing

Pay per usage

Go to Store
Crawler Puppeteer

Crawler Puppeteer

Developed by

Jan Curn

Jan Curn

Maintained by Community

Copy of https://github.com/apifytech/actor-crawler-puppeteer

0.0 (0)

Pricing

Pay per usage

2

Total users

3

Monthly users

1

Last modified

7 years ago

You can access the Crawler Puppeteer 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": "http://example.com"
< },
< {
< "url": "http://iana.org"
< }
< ],
< "pseudoUrls": [
< {
< "purl": "https://www.iana.org/[((?!\\\\.pdf$).)*]"
< }
< ],
< "linkSelector": "a",
< "pageFunction": "async ({ request, page, keyValueStore, log }) => {\\n const title = await page.title();\\n log.info(`Title of page with url ${request.url} is: ${title}`);\\n await keyValueStore.setValue(Math.random().toString(36), { title });\\n return { title }\\n}",
< "proxyConfiguration": {
< "useApifyProxy": false
< }
<}' |
<apify call jancurn/crawler-puppeteer --silent --output-dataset

Crawler Puppeteer API through CLI

The Apify CLI is the official tool that allows you to use Crawler Puppeteer locally, providing convenience functions and automatic retries on errors.

Install the Apify CLI

$npm i -g apify-cli
$apify login

Other API clients include: