kevinzg / facebook-scraper

Scrape Facebook public pages without an API key
MIT License
2.44k stars 632 forks source link

Is it possiable to start get post data with certain time #476

Open Aaron-X-93 opened 3 years ago

Aaron-X-93 commented 3 years ago

I am trying to collect data under an account with thousands of posts. The program got some error from time to time so each time I have to start from the beginning.

I am wondering if the library is able to set certain time or date for starting get the posts. For example, get all posts before Jan. 01, 2021 of an account. And if possible, how to do that? Thanks.

neon-ninja commented 3 years ago

Yes, you can use the start_url parameter. See https://github.com/kevinzg/facebook-scraper/issues/310#issuecomment-852652846

Aaron-X-93 commented 3 years ago

Thanks, it works.