Skip to content
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

Only able to get 2 posts per page #142

Open
ebergam opened this issue Nov 30, 2020 · 1 comment
Open

Only able to get 2 posts per page #142

ebergam opened this issue Nov 30, 2020 · 1 comment

Comments

@ebergam
Copy link

ebergam commented Nov 30, 2020

For every page I only get 2 posts returned.
Am I hitting some rate limit, or is something you also have been experiencing in the last week?

thanks!

@cjdanbjorg
Copy link

Have you tried to set the pages parameter to more than one? I've been able to retrieve +2 posts pr pagem by increasing the pages parameter...

Copied from Readme:
Optional parameters
(For the get_posts function).

group: group id, to scrape groups instead of pages. Default is None.
pages: how many pages of posts to request, usually the first page has 2 posts and the rest 4. Default is 10.
timeout: how many seconds to wait before timing out. Default is 5.
credentials: tuple of user and password to login before requesting the posts. Default is None.
extra_info: bool, if true the function will try to do an extra request to get the post reactions. Default is False.
youtube_dl: bool, use Youtube-DL for (high-quality) video extraction. You need to have youtube-dl installed on your environment. Default is False.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants