Soporte de The Movie Database

Hi, I'm trying to make a call to the search movie API and is returning the first page ignoring the page option:

Example:

http://api.themoviedb.org/3/search/movie?api_key=api-key&query=fight&page=2

{"page":1,"results":[{"adult":false,"backdrop_path":"/ji3ArKisslmeNvGSYBBx2NGNPDy.jpg","id":29044,"original_title":"Street Fight","release_date":"2005-01- [....] Fight","video":false,"vote_average":0.0,"vote_count":0}],"total_pages":38,"total_results":745}

Do you know if this is a bug or if i'm making something wrong?

Thanks!

3 respuestas (en la página 1 de 1)

Jump to last post

Hi cavestri,

The results seem to be working ok for me but the page field isn't updating, you're correct. Here's the first 2 pages, with the results truncated to only first 2 items each:

https://api.themoviedb.org/3/search/movie?api_key=###&query=fight
{
  "page": 1,
  "results": [
    {
      "adult": false,
      "backdrop_path": "/8uO0gUM8aNqYLs1OsTBQiXu0fEv.jpg",
      "id": 550,
      "original_title": "Fight Club",
      "release_date": "1999-10-14",
      "poster_path": "/2lECpi35Hnbpa4y46JX0aY3AWTy.jpg",
      "popularity": 2.9870890916466,
      "title": "Fight Club",
      "video": false,
      "vote_average": 7.8,
      "vote_count": 3298
    },
    {
      "adult": false,
      "backdrop_path": null,
      "id": 158301,
      "original_title": "Kavgamız",
      "release_date": "1989-01-01",
      "poster_path": null,
      "popularity": 4.24915565306238E-52,
      "title": "Fight",
      "video": false,
      "vote_average": 0.0,
      "vote_count": 0
    },
    ...
  ],
  "total_pages": 38,
  "total_results": 744
}
https://api.themoviedb.org/3/search/movie?api_key=###&query=fight&page=2
{
  "page": 1,
  "results": [
    {
      "adult": false,
      "backdrop_path": "/ji3ArKisslmeNvGSYBBx2NGNPDy.jpg",
      "id": 29044,
      "original_title": "Street Fight",
      "release_date": "2005-01-01",
      "poster_path": "/1KnCo9CZQ6004ANSemFNd5mVuqr.jpg",
      "popularity": 0.000642899206018665,
      "title": "Street Fight",
      "video": false,
      "vote_average": 5.0,
      "vote_count": 3
    },
    {
      "adult": false,
      "backdrop_path": null,
      "id": 163362,
      "original_title": "Kampen mod kræften",
      "release_date": "1947-09-23",
      "poster_path": "/4A2eGBlwQUvrLbUZf8Nh8PxRttG.jpg",
      "popularity": 0.000142857153853075,
      "title": "The Fight Against Cancer",
      "video": false,
      "vote_average": 0.0,
      "vote_count": 0
    },
    ...
  ],
  "total_pages": 38,
  "total_results": 745
}

I've created a new ticket for this here and will take a look at it tomorrow.

Thanks.

Hi cavestri,

I just deployed the fix for this, you'll have to wait ~6 hours for the cached pages to expire but it will start showing the proper page numbers shortly.

Cheers.

Great, thanks for your support! :)

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de discusión

n crear nueva discusión
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder a la discusión
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión