Facebook marketplace scraper avatar

Facebook marketplace scraper

Try for free

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

View all Actors
Facebook marketplace scraper

Facebook marketplace scraper

curious_coder/facebook-marketplace
Try for free

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

Scrape facebook marketplace listings and export data to CSV, JSON or use as API

LI

Certain search terms not working

Closed

lijern opened this issue
a year ago

I've been using this crawler today, and it appears to be erroring on certain search terms. "Strollers" and "furniture" worked fine but "chair" and "chairs" did not work.

023-11-03T23:18:28.850Z Error: Data item at index 0 is not an object. You can push only objects into a dataset. 2023-11-03T23:18:28.852Z at checkAndSerialize (/usr/src/app/node_modules/@crawlee/core/storages/dataset.js:26:15) 2023-11-03T23:18:28.854Z at /usr/src/app/node_modules/@crawlee/core/storages/dataset.js:208:52 2023-11-03T23:18:28.856Z at Array.map () 2023-11-03T23:18:28.858Z at Dataset.pushData (/usr/src/app/node_modules/@crawlee/core/storages/dataset.js:208:31) 2023-11-03T23:18:28.860Z at Actor.pushData (/usr/src/app/node_modules/apify/actor.js:510:24) 2023-11-03T23:18:28.862Z at processTicksAndRejections (node:internal/process/task_queues:96:5) 2023-11-03T23:18:28.864Z at async file:///usr/src/app/src/main.js:54:1

curious_coder avatar

The error was due to no results for the given search url. I've fixed it I have also added option to scrape product details pages to get additional info

Developer
Maintained by Community
Actor metrics
  • 120 monthly users
  • 16 stars
  • 99.5% runs succeeded
  • 0.69 hours response time
  • Created in Sep 2023
  • Modified 26 days ago