Fix Movie Challenge: Letterboxd detail view now blocked by Cloudflare - #3283
caropinzonsilva wants to merge 1 commit into
Conversation
Next StepsHello! Thank you so much for your change 🤜 🤛 . There are a few things you need to do:
Manual Review RequiredHang tight! A Tidbyt engineer will be by shortly to review your change. Here is what they will be looking for:
|
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
| desc = "The list name taken from the URL of your Letterboxd list", | ||
| icon = "link", | ||
| default = "flanagans-best-of-2025", | ||
| default = "flanagans-faves-of-2025", |
There was a problem hiding this comment.
The default list URL that we are using moved.
9da5bc3 to
ffd3730
Compare
Letterboxd's /detail/by/reverse/ list view now sits behind a Cloudflare bot challenge and always returns 403, which is why the app stopped finding any movies. Switch to the plain list URL, which is still reachable, and update selectors for its markup: movies are `.posteritem` elements, titles live in a nested `.react-component[data-item-name]`, and the owner's rating is on `data-owner-rating` (0-10, 0 = unrated). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
ffd3730 to
3b9367e
Compare
| letterboxd_list_name = config.get("letterboxd_list_name", "flanagans-best-of-2025") | ||
| letterboxd_url = "https://letterboxd.com/%s/list/%s/detail/by/reverse/" % (letterboxd_username, letterboxd_list_name) | ||
| letterboxd_list_name = config.get("letterboxd_list_name", "flanagans-faves-of-2025") | ||
| letterboxd_url = "https://letterboxd.com/%s/list/%s/" % (letterboxd_username, letterboxd_list_name) |
There was a problem hiding this comment.
Letterboxd's /detail/list page now returns 403 (Cloudflare bot block). The plain list page still works and has the same data (title, rating), so we fetch that instead.
|
I have read the CLA Document and I hereby sign the CLA |
Summary
/detail/by/reverse/list view (and the RSS feed / per-film JSON endpoints) now sit behind a Cloudflare bot challenge and always return403, which is why Movie Challenge stopped finding any movies.https://letterboxd.com/<user>/list/<list>/), which is still reachable, and updated selectors for its markup: movies are.posteritemelements, titles live in a nested.react-component[data-item-name], and the owner's star rating is ondata-owner-rating(0-10, 0 = unrated).Test plan
/detail/...returns 403 withcf-mitigated: challenge, while the plain list URL returns 200davidehrlich/cannes-2024andvitof/new-to-me-movies-2026(e.g. "How to Make Millions Before Grandma Dies (2024)" → 10★, "Ballerina (2025)" → 6★)🤖 Generated with Claude Code