Frame Data Sources and Import

Part of Frame. This note separates the required experience from verified source capabilities.

Confirmed source boundary

Use public Letterboxd usernames and pages without the Letterboxd API. Do not require Letterboxd account tokens, passwords, private endpoints, or OAuth. Frame’s own application API remains necessary and is not the prohibited dependency.

Examples supplied by the user:

Findings checked on 2026-11-18

EvidenceMeaning for the plan
The web tool could not access either supplied user page.Live structure, pagination, fields, total counts, and full import feasibility remain unverified. This does not establish that the account is empty or private.
The published terms restrict automated data extraction except where authorized. Direct page retrieval also returned 403 in this session; the indexed terms were readable in search.Public reachability alone is insufficient to assume production scraping is supported. Establish an authorized non-API access basis before implementing a public fetch service.
robots.txt contains user-agent-specific exclusions and generic restrictions on several filtered/sorted paths.Recheck the actual crawler’s applicable policy. The absence of a diary/watchlist prohibition in the generic rules would not override the published terms.
Letterboxd’s API access information mentions member RSS feeds and data import/export facilities.These are possible non-API inputs, but do not establish complete historical diary or watchlist coverage via username alone.

This is a launch dependency to resolve, not a claim that permission or technical feasibility has already been obtained. No automated extraction, challenge bypass, or personal-data analysis was performed for these plans.

Feasibility gate

  1. Establish a supported/authorized way to fetch the required public diary and watchlist pages without the Letterboxd API.
  2. In that access context, inspect real page fixtures for multi-page diaries, repeated watches, ratings, dates, watchlists, stable film identity, and public profile fields.
  3. Confirm how pagination ends and whether an empty page is distinguishable from throttling/challenge output.
  4. Compare complete imports to manually counted controlled examples across multiple years and multi-page watchlists.
  5. Document an explicit source contract and breakage policy before promising automatic imports.

If this cannot be established, record the username-only requirement as blocked. An optional user-export upload could support a separate prototype, but it changes the requested interaction and is not an equivalent completion of the requirement. RSS alone must not be presented as a complete year/watchlist importer without demonstrated coverage.

Proposed importer, conditional on the gate

  • Accept a username or parse a supported Letterboxd URL into a username. Reconstruct requests using a fixed HTTPS host and allowlisted paths; do not fetch arbitrary user-supplied destinations.
  • Use Go HTTP workers and a versioned HTML parser. Fetch server-side; do not rely on cross-origin browser requests or a generic proxy.
  • Begin with one in-flight request and at least two seconds between request starts across the entire Letterboxd integration, shared by all jobs and workers. This is a conservative starting proposal, subject to the established access conditions.
  • Honor applicable robots rules and Retry-After; use bounded jittered retries. On persistent 403/challenge output, stop and report inaccessible instead of rotating identities or bypassing controls.
  • Limit requests, pages, response sizes, redirects, and total duration. Cache immutable film identity metadata and reuse fresh source snapshots with clear timestamps.
  • Deduplicate concurrent imports for the same username/source. Fetch the diary once and filter years locally when the source contract permits; don’t repeatedly retrieve it for every card or viewer.
  • Validate redirects against allowed public destinations. Reject credentials, private IPs, unexpected schemes/hosts, and redirects outside the approved source pattern.

Snapshot integrity

Store import source, requested scope, parser version, retrieval time, page evidence, entry counts, and completeness status: complete, partial, inaccessible, not_found, or parse_failed.

Retain repeated diary events separately using a source entry ID when available; film URL alone is not a diary-entry key. A film can be watched repeatedly, including on one day. Preserve raw source watch dates independently from import/log timestamps.

Watchlists are sets of film identities in a snapshot. Deduplicate across pagination, but do not merge remakes or different films sharing a title. Record contradictions or page changes during import; retry a bounded snapshot when possible and label unresolved consistency limits.

A partial snapshot can support a labeled preview. It must not silently replace a last complete snapshot or qualify as a complete watchlist for starting a default room.

Storage and assets

Persist normalized facts and minimal diagnostic fixtures under a short retention policy; do not retain entire review text by default. Treat names, titles, and other extracted strings as untrusted display text.

Artwork and detailed movie metadata are separate dependencies. Confirm permitted use and access before caching or republishing posters. The MVP should work with text cards and placeholders. External metadata services, if considered later, require a separate decision; none is mandatory here.