0

I found this two calls: https://api.9gag.com/v2/post-top?type=update This returns 3 posts

https://api.9gag.com/v2/post-top?type=new This returns 30 posts

But I don't know how to get the next ones, I'm sure there has to be a parameter that let's you skip and take more posts so you can keep scrolling.

The v1 of the api (https://9gag.com/v1/group-posts/group/default/type/hot) returns a nextCursor field, and then you can pass it on the new call to get the next posts. The v2 has the fields entryIds and updateCount but I don't know if that can be used for something.

I tried with the parameters skip, take and after, but that didn't work

I would appreciate if someone could help me, thanks

Delios
  • 1
  • 1
  • Have you tried opening your network tab with the site open and scrolling down? You'll find the API calls, parameters, etc in there. Although you'll have to sort through LOTS of ad requests! – Sean Mizen Oct 30 '22 at 21:09

0 Answers0