Web Scraper avatar

Web Scraper

Try for free

No credit card required

Go to Store
Web Scraper

Web Scraper

apify/web-scraper
Try for free

No credit card required

Crawls arbitrary websites using the Chrome browser and extracts structured data from web pages using a provided JavaScript function. The Actor supports both recursive crawling and lists of URLs, and automatically manages concurrency for maximum performance.

CR

issue unknown

Closed
caravel opened this issue
20 days ago

code was working then this started

jindrich.bar avatar

Hello (again) Caravel and thank you for your input!

The preNavigationHooks option expects a JavaScript array as a string (starting with [ and ending with ]). The module.exports part is unnecessary and is causing the Actor to fail. Additionally, the error message "Unexpected token ';'" suggests that there is an extra semicolon at the end of your input, which is breaking the compilation.

I recommend checking out the default inputs to see the correct formatting for this field.

I'll be closing this issue. Feel free to open a new one if you need further assistance.

Developer
Maintained by Apify

Actor Metrics

  • 3.3k monthly users

  • 456 bookmarks

  • >99% runs succeeded

  • 4.8 days response time

  • Created in Mar 2019

  • Modified a month ago