Facebook Posts Scraper avatar

Facebook Posts Scraper

Try for free

7 days trial then $35.00/month - No credit card required now

View all Actors
Facebook Posts Scraper

Facebook Posts Scraper

apify/facebook-posts-scraper
Try for free

7 days trial then $35.00/month - No credit card required now

Extract data from hundreds of Facebook posts from one or multiple Facebook pages and profiles. Get post URL, post text, page or profile URL, timestamp, number of likes, shares, comments, and more. Download the data in JSON, CSV, and Excel and use it in apps, spreadsheets, and reports.

Do you want to learn more about this Actor?

Get a demo
SS

Excluding pictures from posts

Closed

support_synesystem opened this issue
a month ago

The scrapper download every image from posts. For our project it is absolutly unnecessary and it is a wasting of resources. Is there any way to exclude images from scrapping? Because we cannot find a way to do it.

alexey avatar

Hi!

None of the media files are downloaded. Actor getting links (i.e. image URLs) and related media data which included in post preview, so throwing away this details will not improve anything.

Please either select only fields you need, or exclude unwanted values in the "Export" dataset dialog or in API calls

I´m going to close the issue now, but if there would be anything else we could help with, please let us know.

SS

support_synesystem

a month ago

Hello!

Thank you for the answer, and sorry about my slow response to it (I am not sure why I cannot write from our organization profile which is subscribed). Unfortunetly I am just the 'mediator' about it. According to our developer every post has a picture, which is downloaded. We would like to avoid this because when we scrape many pages it is a big amount. I couldn't find anything in the documentation about how to exclude it, maybe I am just blind. Can you point out where we can find it? Or do you meant that when we have a run we should be able to omit the media field? There is no way to exclude them even before the run?

alexey avatar

Hi!

Sorry for delay with reply, thread was lost in email filters.

Every post includes only media URLs, it can be video or image, but nothing is downloaded, actor can not save binary data to dataset. So each URL is a string, not file and not encoded binary data. Excluding string or few strings from output will not change time or cost of scraping. If you do not need URLs just do not use them, exclude values when you getting dataset items by API or Export dialog.

I´m going to close the issue now, but if there would be anything else we could help with, please let us know.

Developer
Maintained by Apify
Actor metrics
  • 1.8k monthly users
  • 126 stars
  • 99.0% runs succeeded
  • 3.4 days response time
  • Created in Nov 2022
  • Modified 1 day ago