kevinzg/facebook-scraper

How to identify each post, or know where it stopped?

dgomp opened this issue · 0 comments

dgomp commented

First, congratulations. This tool is fantastic.

I'm using the default code, to extract the posts from a page:

`from facebook_scraper import get_posts

for post in get_posts('shoppingdelpase', pages=1, credentials=('login','pass')):
print(post['text'])`

The posts are being pulled, but they come one after the other. Is there a way to space it out somehow and/or show the date of each post? Because that would help if the scrap stops at some point, since my goal is to pull from 7 years lol