Instant web data scraper - Scrape any website avatar

Instant web data scraper - Scrape any website

Try for free

7 days trial then $10.00/month - No credit card required now

View all Actors
Instant web data scraper - Scrape any website

Instant web data scraper - Scrape any website

curious_coder/instant-web-scraper
Try for free

7 days trial then $10.00/month - No credit card required now

Scrape any public and private website data by providing just URL and optionally cookies and proxy information. This scraper is similar to instant data scraper but runs on cloud and can be used as API too!

You can access the Instant web data scraper - Scrape any website programmatically from your own JavaScript 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.

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4// Replace the '<YOUR_API_TOKEN>' with your token
5const client = new ApifyClient({
6    token: '<YOUR_API_TOKEN>',
7});
8
9// Prepare Actor input
10const input = {
11    "action": "scrapeData",
12    "url": "https://wordpress.org/plugins/?plugin_business_model=commercial",
13    "columnMappings": [
14        {
15            "key": "name",
16            "value": "2"
17        },
18        {
19            "key": "link",
20            "value": "0"
21        },
22        {
23            "key": "ratings",
24            "value": "4"
25        },
26        {
27            "key": "authorName",
28            "value": "8"
29        },
30        {
31            "key": "usersCount",
32            "value": "9"
33        },
34        {
35            "key": "description",
36            "value": "6"
37        },
38        {
39            "key": "lastUpdated",
40            "value": "11"
41        },
42        {
43            "key": "pluginLogo",
44            "value": "1"
45        }
46    ],
47    "tableNumber": 1,
48    "nextPageSelector": ".next.page-numbers",
49    "count": 100,
50    "minDelay": 2,
51    "maxDelay": 2
52};
53
54// Run the Actor and wait for it to finish
55const run = await client.actor("curious_coder/instant-web-scraper").call(input);
56
57// Fetch and print Actor results from the run's dataset (if any)
58console.log('Results from dataset');
59console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
60const { items } = await client.dataset(run.defaultDatasetId).listItems();
61items.forEach((item) => {
62    console.dir(item);
63});
64
65// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

Instant web data scraper - Scrape any website API in JavaScript

The Apify API client for JavaScript is the official library that allows you to use Instant web data scraper - Scrape any website API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.

Install the apify-client

npm install apify-client

Other API clients include:

Developer
Maintained by Community
Actor metrics
  • 76 monthly users
  • 7 stars
  • 95.9% runs succeeded
  • 13 days response time
  • Created in Aug 2023
  • Modified 4 months ago