After the recent changes to IMDbs trivia page, v1.5.0 of the Letterboxd IMDb Trivia Extension should be more reliable now: https://github.com/combatwombat/lb-imdb
No more GraphQL shenanigans and back to scraping the site, now in a hidden iframe. Hopefully they change their HTML less often than their API endpoints.
Turns out, if a website doesn't want to be embedded in an iframe due to its Content Security Policy headers, you can just strip those out in a browser extension and embed the site anyway. With declarativeNetRequest.ModifyHeaderInfo in Manifest v3 (https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/declarativeNetRequest/ModifyHeaderInfo) and webRequest.onHeadersReceived for v2 (https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onHeadersReceived).
Then inject some JS in the framed site, do stuff and send data out via postMessage. Relatively easy scraping of dynamic sites.