Skip to content

Cannot collect all games data because 200 is the maximum page number #1805

@ArtemkaKun

Description

@ArtemkaKun

Describe the bug
If you go to https://itch.io/games/top-rated/year-2023, it says there is 35,523 results. When sending a request https://itch.io/games/top-rated/year-2023?page=1&format=json, it returns 36 items per page.
The thing is that when you try to send a request https://itch.io/games/top-rated/year-2023?page=201&format=json, the error will tell you that you have reached the maximum page number.

So you can't collect data about all 35,523 games, because 200 x 36 is 7,200.

To Reproduce
Steps to reproduce the behavior:

  1. Send GET HTTP request https://itch.io/games/top-rated/year-2023?page=201&format=json

Expected behavior
Information about the next 36 games from the list of top-rated 2023 games is returned.

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions