Letterboxd link on movies (userscript & browser extension)

To test out if Google actually still accepts my store submissions I setup a simple extension that adds a external “Letterboxd” link on trakt in the same style as IMDB, TMDB, etc. (for regular Desktop view).

Feel free to use or let me know of issues:

Disclaimer: this was mostly written by AI… catching page navigation on trakt made all of them struggle so every version came out a bit different…

3 Likes

Something I took over last year from another user of trakt who decided they didn’t want to work on it anymore. Adds TVDB, Rotten Tomatoes, Metacritic, MyAnimeList, AniDB, AniList, Letterboxd and TVmaze.

also if you go into the config menu which you can find by going to the user dropdown menu on trakt and opening EL Settings you can enable some extra links as well to some streaming sites like BrocoFlix, Cineby, Freek, P-Stream, Rive, Wovie and XPrime

2 Likes

Thanks for sharing, looks cool. This does solely rely on Wikidata from a glance? For Letterboxd you could form the URL simply via: https://letterboxd.com/tmdb/{tmdbID}

1 Like

Yea for a several of the extra links (the main ones and not the ones enabled through the settings menu) it does rely on wikidata info to be available, so far I haven’t really ran into a single movie that doesn’t have the wikidata available for letterboxd yet but if I start running into any of them then I might look into doing that.

1 Like

Unsure of why I’m unable to edit my above comment (I’m not on this forum enough to really to know if you can’t edit comments past a certain point or not) but I’ve pushed updates to my script. Added two fallback mechanisms as well as a refactor of mostly the entire script for like the 3rd time xD:

Fallback Mechanisms:

  1. Letterboxd Links: I’m now leveraging the tmdbID method you suggested to dynamically reconstruct URLs when Wikidata lacks direct references.
  2. Anime Links: I added redundancy by querying a secondary API I found browsing the forums here on trakt to fill some metadata gaps for when anime-specific entries are unavailable on Wikidata.

Though the anime links still aren’t perfect for shows just due to how most anime sites end up listing things so they currently only link to the main show instead of trying to link specific seasons to specific links and such.

Both fallbacks only activate when primary Wikidata data is absent.

I’ve also made it so now you can enable or disable any of the extra links provided by the script (even the links provided by the wikidata).

1 Like