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!

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8    "action": "scrapeData",
9    "url": "https://wordpress.org/plugins/?plugin_business_model=commercial",
10    "columnMappings": [
11        {
12            "key": "name",
13            "value": "2",
14        },
15        {
16            "key": "link",
17            "value": "0",
18        },
19        {
20            "key": "ratings",
21            "value": "4",
22        },
23        {
24            "key": "authorName",
25            "value": "8",
26        },
27        {
28            "key": "usersCount",
29            "value": "9",
30        },
31        {
32            "key": "description",
33            "value": "6",
34        },
35        {
36            "key": "lastUpdated",
37            "value": "11",
38        },
39        {
40            "key": "pluginLogo",
41            "value": "1",
42        },
43    ],
44    "tableNumber": 1,
45    "nextPageSelector": ".next.page-numbers",
46    "count": 100,
47    "minDelay": 2,
48    "maxDelay": 2,
49}
50
51# Run the Actor and wait for it to finish
52run = client.actor("curious_coder/instant-web-scraper").call(run_input=run_input)
53
54# Fetch and print Actor results from the run's dataset (if there are any)
55print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
56for item in client.dataset(run["defaultDatasetId"]).iterate_items():
57    print(item)
58
59# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Developer
Maintained by Community
Actor metrics
  • 63 monthly users
  • 4 stars
  • 85.7% runs succeeded
  • Created in Aug 2023
  • Modified 5 days ago