The Movie Database Support

TMDb looks to be an incredible replacement for Letterboxd, the service I previously used. However, I did spend quite some effort registering all the movies in Letterboxd and I wouldn't like to do all of that again. It would be great if support for Letterboxd could be added. Files are exported in .csv format.

Here's are the files Letterboxd was able to export for me: https://send.firefox.com/download/3514511d564e0d17/#Fp8OfHExdssVxU6O1ZKXgQ.

Note: It might be that TMDb already has limited support, but when I uploaded my Letterboxd watchlist, TMDb refused to add them to the watchlist in my TMDb account.

4 replies (on page 1 of 1)

Jump to last post

Hi @jelle619,

Thanks for stopping by. :wave_tone2:

Indeed, this has been mentioned a few times through the years but it is my understanding (as of the last time I looked into this ~1 year ago) that LB's exports don't contain any external IDs. And upon looking at the data in your file, indeed this seems to still be the case.

In order for a 3rd party like TMDb to be able to import data from a CSV like this, we would need an ID to match. Since LB is a TMDb user, it would be great if it was a TMDb ID but even another external like IMDb would be fine.

Unfortunately, until then it makes building an import for LB nearly impossible to do. Maybe you can ask them to add an ID to their exports?

Understandable.

The exported files do contain URLs that lead to the movie's page on Letterboxd which do hold TMDb and IMDb information. For TMDb is particular, these two would be the most reliable ways:

  • Some elements, always at least one, on the page hold the data-tmdb-id attribute which in all instances is equal to the ID of the movie on TMDb.
  • The link to the TMDb page of the movie is mentioned in the anchor with attribute data-track-action="TMDb"

I know it's not perfect, and it requires retrieving the page of every single movie entry in the exported file. Though it is possible, I wouldn't blame you for not supporting it - it's not a perfectly clean and light-weight solution to implement.

While that's technically possible, I don't think I'll try to scrape their website as a means to get IDs. You're right, it's just not a great way to get data.

On that note, would it be possible to create a document containing a list of straight up TMDb IDs and import them into your TMDb account? I'm considering writing some sort of script myself that would scrape the IDs from their site on the user's end.

Also, unfortunately, it seems unlikely they are going to add TMDb IDs to their exports any time soon. The suggestion has already been made quite a while ago, but left unanswered by any staff member.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page