Assistance de TMDB

The Daily ID Exports documentation says

All of the exported files are available for download from http://files.tmdb.org. ... There is currently no authentication on these files since they are not very useful unless you're a user of our service.

However, attempting to fetch the set of IDs at https://files.tmdb.org/movie_ids_05_20_2024.json.gz gets an "Access Denied" error message.

(Bonus question: does "adult" in the context of the API mean "exclude content created for children" or "include content for which access by children is restricted"?)

8 réponses (sur la page 1 sur 1)

Jump to last post

Ah, I see. There's a mistake in the example link. If you click on that link and then edit it to replace the older date with today's date, you should get a 404 error, because the markup for that link leaves out the /p/exports portion. Restoring the missing portion of the path successfully retrieves the list. Probably a good idea to fix that markup in the documentation (and return a 404 instead of a success error code for resources which can't be found). Even better, fix the markup and generate the example dynamically so that the example URL doesn't represent a file which is old enough to have been deleted.

I'd still be interested in finding out how TMDB is using "adult" on this page when it says "we are now publishing the adult data set." It would be useful to be able to filter out movies and shows made exclusively for children, but since that language is ambiguous, I can't tell by reading this documentation that this is what is meant. I suppose I could always download one of the sets and see if it contains IDs for mainstream content created for adults. Still, I'm a big fan of unambiguous documentation. Why make the reader guess when you can just say exactly what you mean? 😉

Hi @bkline,

From a data point of view, "adult" on TMDB refers to pornography. This term is used all throughout TMDB to indicate as such.

Thanks, Travis. Is there a bug-tracking system where I should report the incorrect link in the documentation described above?

No problem.

I have fixed the link already.

Super! Thanks.

Actually, I see you decided not to generate the link dynamically, but stick with a hard-coded date. I can understand why you'd want to do that (perhaps you have no functionality for generating anything on the documentation pages dynamically). Still, you'll probably want the date in the displayed text to match the new hard-coded date ("May 15, 2024" instead of "May 15, 2023").

Also, I'm a little surprised that a site which (with good justification) prides itself on its international focus would choose a US-centric date format for the file-naming convention used for the data sets instead of using the unambiguous ISO order for the date components. 🤔

The docs are not dynamic, so whenever an update happens it has to be done by hand. On that note, files expire and are only available for 90 days.

Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.

Général

s Mettre le curseur dans la barre de recherche
p Ouvrir le menu du profil
esc Fermer une fenêtre ouverte
? Ouvrir la fenêtre des raccourcis clavier

Sur les pages des médias

b Retour (ou vers le parent si faisable)
e Afficher la page de modification

Sur les pages des saisons des émissions télévisées

Afficher la saison suivante (flèche droite)
Afficher la saison précédente (flèche gauche)

Sur les pages des épisodes des émissions télévisées

Afficher l'épisode suivant (flèche droite)
Afficher l'épisode précédent (flèche gauche)

Sur toutes les pages des images / photos

a Ouvrir la fenêtre d'ajout d'image / photo

Sur toutes les pages de modifications

t Ouvrir le sélecteur de traduction
ctrl+ s Envoyer le formulaire

Sur les pages des discussions

n Créer une nouvelle discussion
w Basculer le statut de suivi
p Basculer publique / privée
c Basculer fermer / ouvrir
a Ouvrir l'activité
r Répondre à la discussion
l Afficher la dernière réponse
ctrl+ enter Envoyer votre message
Page suivante (flèche droite)
Page précédente (flèche gauche)

Paramètres

Vous souhaitez évaluer ou ajouter cet élément à une liste ?

Connexion