Craigslist Scraper avatar

Craigslist Scraper

Try for free

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

Go to Store
Craigslist Scraper

Craigslist Scraper

zscrape/craigslist-scraper
Try for free

3 days trial then $10.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.

Keeping getting Trim Error

Closed

RWHGnfEhk52zrL4O8 opened this issue
8 months 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 fol... [trimmed]

8 months ago

Hm, also purchased Proxies, still to no avail.

8 months 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..

8 months ago

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

zscrape avatar

Hi there! Let me take a look

zscrape avatar

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

8 months ago

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

8 months ago
zscrape avatar

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

zscrape avatar

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

Thanks!

8 months ago

Gonna try

8 months ago

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

zscrape avatar

Hi generate029,

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

Developer
Maintained by Community

Actor Metrics

  • 2 monthly users

  • 2 stars

  • >99% runs succeeded

  • Created in Apr 2021

  • Modified a month ago