GPT Scraper avatar

GPT Scraper

Try for free

Pay $9.00 for 1,000 pages

View all Actors
GPT Scraper

GPT Scraper

drobnikj/gpt-scraper
Try for free

Pay $9.00 for 1,000 pages

Extract data from any website and feed it into GPT via the OpenAI API. Use ChatGPT to proofread content, analyze sentiment, summarize reviews, extract contact details, and much more.

Do you want to learn more about this Actor?

Get a demo

You can access the GPT Scraper programmatically from your own applications by using the Apify API. You can 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.

1echo '{
2  "startUrls": [
3    {
4      "url": "https://news.ycombinator.com/"
5    }
6  ],
7  "instructions": "Gets the post with the most points from the page and returns it as JSON in this format: \\npostTitle\\npostUrl\\npointsCount",
8  "includeUrlGlobs": [],
9  "excludeUrlGlobs": [],
10  "linkSelector": "a[href]",
11  "initialCookies": [],
12  "proxyConfiguration": {
13    "useApifyProxy": true
14  },
15  "targetSelector": "",
16  "removeElementsCssSelector": "script, style, noscript, path, svg, xlink",
17  "schema": {
18    "type": "object",
19    "properties": {
20      "title": {
21        "type": "string",
22        "description": "Page title"
23      },
24      "description": {
25        "type": "string",
26        "description": "Page description"
27      }
28    },
29    "required": [
30      "title",
31      "description"
32    ]
33  },
34  "schemaDescription": ""
35}' |
36apify call drobnikj/gpt-scraper --silent --output-dataset

GPT Scraper API through CLI

The Apify CLI is the official tool that allows you to use GPT Scraper locally, providing convenience functions and automatic retries on errors.

Install the Apify CLI

1npm i -g apify-cli
2apify login

Other API clients include:

Developer
Maintained by Apify
Actor metrics
  • 181 monthly users
  • 51 stars
  • 98.5% runs succeeded
  • 2 days response time
  • Created in Mar 2023
  • Modified 12 days ago