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
RA

Their is a problem with the prompt

Closed

RR-AB opened this issue
10 months ago

it says that their is a problem with the prompt. But that is not right.. Now is the maximum output around the 50...

lukas.prusa avatar

Hi, thanks a lot for reporting this! We've just updated the Actor to handle this error properly ;)

In your case the page "https://www.problicity.nl" has a few images, that have their raw data directly in the HTML file. OpenAI (chat GPT) is throwing the error as most of the input prompt is just the raw image data, not the actual page.

Since todays update, the Actor won't fail anymore, but the page still won't be processed with GPT. To fix this, you can add a simple CSS selector to the removeElementsCssSelector input option - img[src^="data:image/png;"] This should remove the images from the page and be processed by GPT ;)

Try it out and let me know how it works, thanks!

Developer
Maintained by Apify

Actor Metrics

  • 155 monthly users

  • 64 stars

  • >99% runs succeeded

  • 2 days response time

  • Created in Mar 2023

  • Modified 4 days ago