I built a cloudflare worker to convert a tmdb id (27205) to a letterboxd id (2a1m). Just before i ship the worker, letterboxd updated their cloudflare WAF to block my scrapper, so I had to change its User-Agent (to DiscordBot’s, used by discord to get the preview embed’s info) to make it work again!
I found out that the project was broken : it returned a not found error as it was hit by a Cloudflare “Just a moment” page so changed the user agent used by the fetcher to discord’s to bypass WAF
Log in to leave a comment
Added caching, deployed the worker (https://boxd.notri1.fr/tmdb/157336), added readme and license.
Log in to leave a comment
Initialized project and added basic features. going to /tmdb/:id now shows info about the movie, including its letterboxd id.
Log in to leave a comment
Found a webpage talking about an url containing a tmdb that redirects to the corresponding letterboxd movie page (https://letterboxd.com/tmdb/:tmdb_id). This page contains the boxd.it short url of the movie, with the movie ID (https://boxd.it/:letterboxd_id).
Log in to leave a comment