Служба підтримки The Movie Database

I have written a bot for Wikidata that links the page IDs of TMDb to the respective elements of Wikidata, looping through all existing pages. I was now dealing with collections but I noticed that as long as a collection exists (.../collection/119) then there is no problem but if the collection does not exist (.../collection/120) then the URL redirects to the same movie ID (.../movie/120). Is there a URL that specifically shows only collections without redirects?

3 відповідей (на сторінці 1 із 1)

Jump to last post

This sounds like a use case where you would be better off using the daily ID exports. These will only list the valid IDs for each data type. https://developer.themoviedb.org/docs/daily-id-exports

Thank you for your valuable reply, @Sheigutn. Is there any example of use in the API Reference section? I couldn't find it and I'm not understanding how to use the exported file.

Once you have uncompressed the file (.gz is a standard compress file format), each line of the file will be a JSON object which include the most important informations about each movie, as explained in the link provided above by @Sheigutn .

So, to access all the movies, you will just have to browse the file, one line at a time.

Не вдалося знайти фільм або серіал? Увійдіть, щоб додати.

Загальні

s відкрити панель пошуку
p відкрити меню профілю
esc закрити відкрите вікно
? відкрити вікно з гарячими клавішами

На сторінках медіа

b повернутися назад
e перейти до сторінки редагування

На сторінках сезонів шоу

(стрілка вправо) перейти до наступного сезону
(стрілка вліво) перейти до попереднього сезону

На сторінках серій шоу

(стрілка вправо) перейти до наступної серії
(стрілка вліво) перейти до попередньої серії

На всіх сторінках зображень

a відкрити вікно додавання зображення

На всіх сторінках редагування

t відкрити перемикач перекладів
ctrl+ s підтвердити форму

На сторінках обговорення

n створити нове обговорення
w змінити статус стеження
p перемикач публічно/приватно
c перемикач відкрито/закрито
a відкрити активність
r відповісти на обговорення
l перейти до останньої відповіді
ctrl+ enter підтвердити повідомлення
(стрілка вправо) наступна сторінка
(стрілка вліво) попередня сторінка

Налаштування

Хочете поставити оцінку чи додати до списку?

Увійти

Немає облікового запису?

Приєднайтеся до спільноти