GPT Scraper avatar

GPT Scraper

Try for free

Pay $9.00 for 1,000 pages

Go to Store
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
BE

Multiple error runs

Closed

Benjaminh opened this issue
a year ago

every time i want to run a file, it give this error after 55 output "OpenaiAPIError: Sorry! We've encountered an issue with repetitive patterns in your prompt. Please try again with a different prompt."

BE

Benjaminh

a year ago

and i have tried other prompts three times

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

  • 135 monthly users

  • 72 stars

  • >99% runs succeeded

  • Created in Mar 2023

  • Modified 24 days ago