Поддръжка на 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 изпращане на вашето съобщение
(стрелка надясно) следваща страница
(стрелка наляво) предишна страница

Настройки

Искате ли да го оцените или добавите към списък?

Вход