پشتیبانی پایگاه داده‌ فیلم

There are many titles that return after a 'Collection Details' API call, error 34. Setting aside my Python program, I have tried using API calls from the TMDB website. Here is an example

{
  "success": false,
  "status_code": 34,
  "status_message": "The resource you requested could not be found."
}

https://www.themoviedb.org/movie/137968-drift

https://postimg.cc/qhXQXV5m

If I use the website, I get the information I'm looking for; however, with API calls, it's not possible. I'm not sure if it's a duplicate since there is only one result for that ID

Through my Python program, I obtained perhaps 500 or 600 results similar to the one described

What i can do ? Thank you

4 پاسخ (در صفحه 1 از 1)

Jump to last post

The screenshot you posted is you trying to access a collection, not a movie.

I'm sorry I confused "collections" with "translations..."

I debugged the program. The Python library creates this URLs to obtain the translations:

1)

https://api.themoviedb.org/3/search/movie?api_key=hello_api_key_&query=drift&page=1&language=en-US

2)

https://api.themoviedb.org/3/movie/?api_key=hello_api_key_&append_to_response=videos,trailers,images,casts,translations,keywords,release_dates&language=en-US

while the 'developer.themoviedb.org' runs this URL

url = "https://api.themoviedb.org/3/movie/137968/translations"  

The python library searches for "details" by ID (1) ,his method is called 'details', and then looks for translations (2).

The second (2) URL causes error 34, do you think it's correct? Thank you

Edit:

From this doc page: https://developer.themoviedb.org/docs/search-and-query-for-details

curl --request GET \
     --url 'https://api.themoviedb.org/3/movie/137968?&append_to_response=videos,trailers,images,casts,translations,keywords,release_dates&language=en-US&api_key='

It works , but the syntax is similar but not identical to url(2) , I don't know if it can be a problem

I have no idea what the problem might be

Your url(2) is missing the id of the concerned movie.

...Yes I hadn't noticed Thank you !!

فیلم و نمایش تلویزیونی را نمی‌توانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.

Global

s تمرکز بر منوی جستجو
p منوی پروفایل باز شود
esc بستن پنجره باز
? پنجره میانبرهای صفحه‌کلید باز شود

در صفحات مدیا

b بازگشت به عقب (یا در صورت لزوم به منشا)
e برو به صفحه ویرایش

در صفحات فصل تلویزیونی

(فلش سمت راست) برو به فصل بعد
(پیکان سمت چپ) برو به نشست قبلی

در صفحات قسمت تلویزیونی

(فلش سمت راست) برو به قسمت بعد
(پیکان سمت چپ) برو به قسمت قبلی

در تمام صفحات تصویر

a پنجره افزودن تصویر باز شود

در تمام صفحات ویرایش

t انتخابگر ترجمه باز شود
ctrl+ s ثبت از

در صفحات بحث

n ایجاد بحث جدید
w تغییر وضعیت وضعیت تماشا
p تغییر وضعیت عمومی/خصوصی
c تغییر وضعیت بسته/باز
a گشایش صفحه فعالیت
r پاسخ به بحث
l برو به آخرین پاسخ
ctrl+ enter پیام خود را ثبت کنید
(فلش سمت راست) صفحه بعد
(پیکان سمت چپ) صفحه قبلی

تنظیمات

آیا می‌خواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟

ورود