facebook-scraper icon indicating copy to clipboard operation
facebook-scraper copied to clipboard

Is it possiable to start get post data with certain time

Open Aaron-X-93 opened this issue 2 years ago • 2 comments

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.

Aaron-X-93 avatar Sep 16 '21 12:09 Aaron-X-93

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

neon-ninja avatar Sep 16 '21 22:09 neon-ninja

Thanks, it works.

Aaron-X-93 avatar Sep 20 '21 15:09 Aaron-X-93