תמיכת 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 תגובות (בדף 1 מתוך 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! :)

.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם

עולמי

s התמקד בשורת החיפוש
p פתח תפריט פרופיל
esc סגור חלון פתוח
? פתח חלון קיצורי דרך של מקלדת

בדפי מדיה

b לך חזרה (או אל הורה אם ישים)
e לך אל דף עריכה

בדפי עונות

(חץ ימני) לך אל העונה הבאה
(חץ שמאלי) לך אל העונה הקודמת

בדפי סדרות

(חץ ימני) לך אל הפרק הבא
(חץ שמאלי) לך אל הפרק הקודם

בכל דפי תמונה

a פתח חלון הוספת תמונה

בכל דפי עריכה

t פתח בוחר תרגום
ctrl+ s הגש טופס

בדפי דיון

n צור דיון חדש
w עורר מעמד צפייה
p עורר ציבורי/פרטי
c עורר סגירה/פתיחה
a פתח פעילות
r השב אל דיון
l לך אל תשובה אחרונה
ctrl+ enter הגש את הודעתך
(חץ ימני) הדף הבא
(חץ שמאלי) הדף הקודם

הגדרות

?רוצה לדרג או להוסיף פריט אל רשימה

היכנס