Instant web data scraper - Scrape any website
7 days trial then $10.00/month - No credit card required now
Instant web data scraper - Scrape any website
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 Python 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.
1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4# Replace '<YOUR_API_TOKEN>' with your token.
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7# Prepare the Actor input
8run_input = {
9 "action": "scrapeData",
10 "url": "https://wordpress.org/plugins/?plugin_business_model=commercial",
11 "columnMappings": [
12 {
13 "key": "name",
14 "value": "2",
15 },
16 {
17 "key": "link",
18 "value": "0",
19 },
20 {
21 "key": "ratings",
22 "value": "4",
23 },
24 {
25 "key": "authorName",
26 "value": "8",
27 },
28 {
29 "key": "usersCount",
30 "value": "9",
31 },
32 {
33 "key": "description",
34 "value": "6",
35 },
36 {
37 "key": "lastUpdated",
38 "value": "11",
39 },
40 {
41 "key": "pluginLogo",
42 "value": "1",
43 },
44 ],
45 "tableNumber": 1,
46 "nextPageSelector": ".next.page-numbers",
47 "count": 100,
48 "minDelay": 2,
49 "maxDelay": 2,
50}
51
52# Run the Actor and wait for it to finish
53run = client.actor("curious_coder/instant-web-scraper").call(run_input=run_input)
54
55# Fetch and print Actor results from the run's dataset (if there are any)
56print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
57for item in client.dataset(run["defaultDatasetId"]).iterate_items():
58 print(item)
59
60# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Instant web data scraper - Scrape any website API in Python
The Apify API client for Python is the official library that allows you to use Instant web data scraper - Scrape any website API in Python, providing convenience functions and automatic retries on errors.
Install the apify-client
pip install apify-client
Other API clients include:
- 71 monthly users
- 5 stars
- 91.0% runs succeeded
- 17 hours response time
- Created in Aug 2023
- Modified 3 months ago