Letterboxd-Watchlist-Picker icon indicating copy to clipboard operation
Letterboxd-Watchlist-Picker copied to clipboard

No Unreleased + No Short films options produce no result

Open qjack001 opened this issue 4 years ago • 4 comments

Noticed this bug in testing, but it's live on the site: if you uncheck "unreleased films" in advanced options, the API returns results. But, if you uncheck "short films" it returns "nothing found". Similarly if you have both "unreleased" and "feature length" unchecked, no results.

I believe this is likely an issue with the backend.

qjack001 avatar Mar 08 '22 05:03 qjack001

hmm interesting ill check it out might be a like need to update how the scraper works

HoloPollock avatar Mar 08 '22 06:03 HoloPollock

Damn, this bug's still there.

limaceous-bushwhacker avatar Mar 03 '24 15:03 limaceous-bushwhacker

Yep, can confirm that it doesn't work

bigdarrio avatar Apr 07 '24 21:04 bigdarrio

The issue is in the scrapeWithLength function - it's scraping the film's individual page but unfortunately most of the data on this page is lazy loaded so it can't be found with the colly selectors.

e.g. data-film-release-year is on the rendered page markup but if you view it's source it's not there.

view-source:https://letterboxd.com/film/beginners/

Because the film structs contain empty data it blows up later on.

The data needed is still on the lazily loaded page so I think it's fixable? I might have go later this week if that's ok 😄

james1612 avatar Nov 17 '24 19:11 james1612