![Universal AI GPT Scraper avatar](https://images.apifyusercontent.com/TQKMj-rYPBljfoJyaZPkyGyHbBQ1R4e2C-HxQ4zWy9c/rs:fill:250:250/cb:1/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vaTI5QjVLUXFnc2M1ekt1c1ctYWN0b3ItY2lsYnRIUFM0endUWDVodjMtTFhFYjBNSUFBaC1vcGVuYWktbG9nb21hcmsucG5n.webp)
Universal AI GPT Scraper
This Actor is paid per event
![Universal AI GPT Scraper](https://images.apifyusercontent.com/TQKMj-rYPBljfoJyaZPkyGyHbBQ1R4e2C-HxQ4zWy9c/rs:fill:250:250/cb:1/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vaTI5QjVLUXFnc2M1ekt1c1ctYWN0b3ItY2lsYnRIUFM0endUWDVodjMtTFhFYjBNSUFBaC1vcGVuYWktbG9nb21hcmsucG5n.webp)
Universal AI GPT Scraper
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:
Actor Metrics
4 monthly users
-
0 No stars yet
90% runs succeeded
Created in Feb 2025
Modified 5 days ago