TMDB2BOXD banner

TMDB2BOXD

4 devlogs
1h 37m 27s

Cloudflare worker to get letterboxd id from tmdb id

Demo Repository

Loading README...

Paul

Shipped this project!

Hours: 1.62
Cookies: 🍪 19
Multiplier: 11.69 cookies/hr

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!

Paul

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

Attachment
0
Paul

Initialized project and added basic features. going to /tmdb/:id now shows info about the movie, including its letterboxd id.

Attachment
0