Hi,
executing this api -
http://api.themoviedb.org/3/discover/movie?api_key=APIKEY&**page=1**&language=en-US&sort_by=vote_average.desc&without_genres=99,10755&vote_count.gte=200
and:
http://api.themoviedb.org/3/discover/movie?api_key=APIKEY&**page=2**&language=en-US&sort_by=vote_average.desc&without_genres=99,10755&vote_count.gte=200
return the same movie :
{ "adult": false, "backdrop_path": "/i9qxG4UVgfX4AdMGnfRzMYEowLQ.jpg", "genre_ids": [ 12, 36, 28, 18, 10749, 53 ], "id": 1084736, "original_language": "fr", "original_title": "Le Comte de Monte-Cristo", "overview": "Edmond Dantes becomes the target of a sinister plot and is arrested on his wedding day for a crime he did not commit. After 14 years in the island prison of Château d’If, he manages a daring escape. Now rich beyond his dreams, he assumes the identity of the Count of Monte-Cristo and exacts his revenge on the three men who betrayed him.", "popularity": 93.544, "poster_path": "/aHRUsFln97FlIdsvYKFT3z5ubYE.jpg", "release_date": "2024-06-28", "title": "The Count of Monte-Cristo", "video": false, "vote_average": 8.449, "vote_count": 493 }, { "adult": false, "backdrop_path": "/7lyq8hK0MhPHpUXdnqbFvZYSfkk.jpg", "genre_ids": [ 18, 10749 ], "id": 11216, "original_language": "it", "original_title": "Nuovo Cinema Paradiso", "overview": "A filmmaker recalls his childhood, when he fell in love with the movies at his village's theater and formed a deep friendship with the theater's projectionist.", "popularity": 33.829, "poster_path": "/gCI2AeMV4IHSewhJkzsur5MEp6R.jpg", "release_date": "1988-11-17", "title": "Cinema Paradiso", "video": false, "vote_average": 8.447, "vote_count": 4295 }
which should be forbidden; please fix this issue asap
thanks for your awesome work.
Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.
Diesen Eintrag bewerten oder zu einer Liste hinzufügen?
Kein Mitglied?
Antwort von superboy97
am 1. September 2024 um 14:57
Your 2 queries are separate queries, so the vote_average of the different movies between the 2 queries making this one going from page 1 to page 2 due to the fact that more movies have a higher vote_average at the time of your second query.
Also, the first query may be cached since a few hours and the second one being executed just now.
Consequently, this is a normal situation. Your code should take in account that this situation can occur.