Universal AI GPT Scraper avatar

Universal AI GPT Scraper

Try for free

This Actor is paid per event

Go to Store
Universal AI GPT Scraper

Universal AI GPT Scraper

louisdeconinck/ai-gpt-scraper
Try for free

This Actor is paid per event

Transform any website into structured data with AI-powered extraction. This versatile tool combines advanced web scraping with intelligent content analysis to deliver clean, customized JSON output - perfect for automating data collection from any web source.

You can access the Universal AI GPT Scraper 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    "urls": ["https://apify.com/louisdeconinck/ai-gpt-scraper"],
10    "fields": [
11        {
12            "name": "name",
13            "description": "The name/title of the scraper tool",
14            "type": "string",
15        },
16        {
17            "name": "price",
18            "description": "The price per 1000 results, only the number",
19            "type": "number",
20        },
21        {
22            "name": "author",
23            "description": "The author or maintainer of the scraper",
24            "type": "string",
25        },
26    ],
27    "cssSelector": "main",
28    "predefinedModel": "google/gemini-2.0-flash-001",
29    "useCustomModel": False,
30    "proxyConfiguration": { "useApifyProxy": True },
31}
32
33# Run the Actor and wait for it to finish
34run = client.actor("louisdeconinck/ai-gpt-scraper").call(run_input=run_input)
35
36# Fetch and print Actor results from the run's dataset (if there are any)
37print("πŸ’Ύ Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
38for item in client.dataset(run["defaultDatasetId"]).iterate_items():
39    print(item)
40
41# πŸ“š Want to learn more πŸ“–? Go to β†’ https://docs.apify.com/api/client/python/docs/quick-start

Universal AI GPT Scraper API in Python

The Apify API client for Pythonis the official library that allows you to use Universal AI GPT Scraper API in Python, providing convenience functions and automatic retries on errors.

Install the apify-client

pip install apify-client

Other API clients include:

Developer
Maintained by Community

Actor Metrics

  • 4 monthly users

  • 0 No stars yet

  • 90% runs succeeded

  • Created in Feb 2025

  • Modified 5 days ago