-
Notifications
You must be signed in to change notification settings - Fork 640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to specify the timeline in which we want to extract the posts? #100
Comments
No, the scraper just open the FB page at the latest posts and then "scrolls down" to get more posts. |
There must be a way because I had used a Twitter Scraper GetOldTweets3 which has a library known as TweetCriteria using which one is able to set the timeline and define keywords or hashtags to search/extract the tweets with. |
You can create a list of keywords and check if the post have minimum one word of that list. It solve the problem |
Use date time variable "time" as "from date limit", implement it in a while loop that breaks getting post if the date publication is less than you desired. Upto date limit i don´t think it can be possible, because it scrolls down from actual date extraction, but you can store it and then filter it. |
Note that some pages have sticky posts, so it's a good idea to skip the check for the first posts of the page. |
Is there a way I can specify dates both from and upto which I want to extract the posts from?
The text was updated successfully, but these errors were encountered: