Puppeteer Improved Inputs Scraper
This Actor is unavailable because the developer has decided to deprecate it. Would you like to try a similar Actor instead?
See alternative ActorsPuppeteer Improved Inputs Scraper
Add the following options to inputs: Use Live View, Inject Query, and Inject Underscore
You can access the Puppeteer Improved Inputs Scraper programmatically from your own applications by using the Apify API. You can 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.
1echo '{
2 "startUrls": [
3 {
4 "url": "https://apify.com"
5 }
6 ],
7 "pseudoUrls": [
8 {
9 "purl": "https://apify.com[(/[\\\\w-]+)?]"
10 }
11 ],
12 "linkSelector": "a",
13 "proxyConfiguration": {
14 "useApifyProxy": false
15 },
16 "customData": {},
17 "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}",
18 "preGotoFunction": "async function preGotoFunction({ request, page, Apify }) {\\n /* add your pre-navigation logic here, if needed */\\n}",
19 "initialCookies": [],
20 "waitUntil": [
21 "networkidle2"
22 ]
23}' |
24apify call barry8schneider/puppeteer20191228 --silent --output-dataset
Puppeteer Improved Inputs Scraper API through CLI
The Apify CLI is the official tool that allows you to use Puppeteer Improved Inputs Scraper locally, providing convenience functions and automatic retries on errors.
Install the Apify CLI
1npm i -g apify-cli
2apify login
Other API clients include: