Craigslist Scraper avatar
Craigslist Scraper
Try for free

3 days trial then $30.00/month - No credit card required now

View all Actors
Craigslist Scraper

Craigslist Scraper

andrewtaylor/craigslist-scraper
Try for free

3 days trial then $30.00/month - No credit card required now

Scrapes Craigslist for new posts matching your search criteria and sends an email alert. Ideal for finding new leads, items for sale, housing, job postings, gigs, and more! Be the first to respond to new posts.

User avatar

Keeping getting Trim Error

Closed

generate029 opened this issue
a month ago

2024-04-13T02:40:41.246Z ACTOR: Pulling Docker image of build JA9ZaC0l2nzDbH60j from repository.

2024-04-13T02:41:08.390Z ACTOR: Creating Docker container.

2024-04-13T02:41:08.432Z ACTOR: Starting Docker container.

2024-04-13T02:41:09.494Z Starting X virtual framebuffer using: Xvfb :99 -ac -screen 0 1920x1080x24+32 -nolisten tcp

2024-04-13T02:41:09.495Z Executing main command

2024-04-13T02:41:10.609Z INFO System info {"apifyVersion":"1.3.4","apifyClientVersion":"1.4.2","osType":"Linux","nodeVersion":"v18.19.1"}

2024-04-13T02:41:29.226Z ERROR

2024-04-13T02:41:29.227Z Error: Evaluation failed: TypeError: Cannot read property 'trim' of undefined

2024-04-13T02:41:29.228Z at puppeteer_evaluation_script:9:112

2024-04-13T02:41:29.229Z at Array.forEach (

2024-04-13T02:41:29.230Z at puppeteer_evaluation_script:5:15

2024-04-13T02:41:29.230Z at ExecutionContext._evaluateInternal (/home/myuser/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:221:19)

2024-04-13T02:41:29.231Z at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

2024-04-13T02:41:29.231Z at async ExecutionContext.evaluate (/home/myuser/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:110:16)

2024-04-13T02:41:29.232Z at async /home/myuser/main.js:23:19

2024-04-13T02:41:29.233Z at async run (/home/myuser/node_modules/apify/build/actor.js:182:13)

Confused, as I'm following the instructions. Not a programmer but I can learn...

User avatar

generate029

a month ago

Hm, also purchased Proxies, still to no avail.

User avatar

generate029

a month ago

Makes no sense! Too confused...

Also, why does my code differ so much from the build code? Don't think I'm running right script..

User avatar

generate029

a month ago

My goal is to get gigs scraped every 2-5 mintues, and sent to various emails.

User avatar

Hi there! Let me take a look

User avatar

Could you share the full run with me so I can take a look at the inputs?

User avatar

generate029

a month ago

Let me see if I know how to do that...

User avatar

generate029

a month ago
User avatar

Got it, I see the error. I will work on fixing it!

User avatar

Hi generate029, the issue should be fixed now. Try it and let me know.

Thanks!

User avatar

generate029

23 days ago

Gonna try

User avatar

generate029

23 days ago

Successful on the run, Ive yet to get any emails though on the Scheduled task. Standing by...

User avatar

Hi generate029,

Just checking in. If all good, I will close this issue.

Developer
Maintained by Community
Actor metrics
  • 7 monthly users
  • 75.0% runs succeeded
  • 5.3 days response time
  • Created in Apr 2021
  • Modified 24 days ago