Sprijin Bază de date filme (The Movie Database)

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.

1 răspuns (pe pagina 1 din 1)

Jump to last post

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.

Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.

Globale

s focalizează bara de căutare
p deschide meniul profilului
esc închide o fereastră deschisă
? deschide fereastra cu scurtături de la tastatură

Pe paginile media

b mergi înapoi (sau la părinte atunci când este cazul)
e mergi la pagina de editare

Pe paginile sezoanelor filmelor seriale

(săgeată dreapta) mergi la sezonul următor
(săgeată stânga) mergi la sezonul precedent

Pe paginile episoadelor filmelor seriale

(săgeată dreapta) mergi la episodul următor
(săgeată stânga) mergi la episodul precedent

Pe toate paginile de imagini

a deschide fereastra pentru adăugarea de imagini

Pe toate paginile de editare

t deschide selectorul de traduceri
ctrl+ s trimite formularul

Pe paginile de discuții

n crează o discuție nouă
w comută starea de vizionare
p comută publică/privată
c comută închisă/deschisă
a deschide activitatea
r răspunde la discuție
l mergi la ultimul răspuns
ctrl+ enter trimite mesajul
(săgeată dreapta) pagina următoare
(săgeată stânga) pagina precedentă

Setări

Doriți să evaluați sau să adăugați acest articol într-o listă?

Autentificare