Letterboxd Builders¶
Collect movies from Letterboxd lists, user pages, filmographies, and discovery categories. All builders support movies, playlists, and custom sorting; they do not support shows.
Choose a builder¶
| Builder | Finds |
|---|---|
letterboxd_list |
Movies in lists or films-search pages |
letterboxd_user_films |
A user's watched films |
letterboxd_user_reviews |
A user's reviewed films |
letterboxd_crew |
A person's credits in a selected role |
| Other discovery builders | Studio, country, language, genre, theme, similar films, or film collection |
Use collection_order: custom to preserve the returned order and sync_mode: sync
to keep membership synchronized. Discovery custom ordering requires a single
builder value per collection. User pages use their default returned order,
rather than a requested sort (see compatibility options).
Lists and film searches¶
letterboxd_list accepts a supported Letterboxd URL, including standard user lists,
/films/... searches, and private links starting with https://boxd.it/.
Supply multiple URLs as a YAML list or comma-separated string to combine sources.
For people and discovery categories, use the dedicated discovery builders.
Use a URL string directly, or a dictionary with url and filters:
| Attribute | Value | Applies to |
|---|---|---|
url |
Supported URL string | Lists and films searches |
limit |
Integer greater than 1 | Lists and films searches; recommended for large searches |
year |
Year-range string, such as "1990-1999" |
Lists and films searches |
rating |
Rating-range string, such as "8-10" |
/films/... URLs only; uses the owner's rating on a 10-point scale |
note |
Text string | /films/... URLs only; matches the owner's note |
URL-specific filters
Standard user lists do not expose per-item owner ratings or notes through
letterboxdpy, so rating and note are ignored for those URLs. They are
available only on /films/... pages that expose the relevant fields.
Follows Vulture's 101 Best Movie Endings list in source order. The builder value is a full URL string.
Selects only the 1990s movies from that list and copies its description to
the collection summary. year is a quoted range string, not a single year.
letterboxd_list_details selects the same items as letterboxd_list and copies
the source description. With multiple lists, only the first supplies the summary.
User films and reviews¶
Use letterboxd_user_films for watched films or letterboxd_user_reviews for
reviewed films. Both accept a username string or a dictionary with the options
below. Multiple users can be supplied as a YAML list or comma-separated string;
use a YAML list of dictionaries for different per-user filters.
| Attribute | Value | Purpose |
|---|---|---|
username |
String, required in dictionary form | User whose films or reviews to collect |
min_rating |
Number, 0-10 | Minimum user rating on a 10-point scale |
limit |
Integer greater than 1 | Cap results; recommended for large user histories |
year |
Year-range string, such as "1990-1999" |
Filter release years |
note |
Text string | Match review text for reviews; ignored for watched films |
The details variants, letterboxd_user_films_details and
letterboxd_user_reviews_details, are accepted for consistency, but user pages
currently provide no description to copy.
Compatibility options¶
Letterboxd access uses letterboxdpy. The following options remain accepted for
older configurations, but do not control fetching as their names might suggest:
| Attribute | Accepted value | Current behaviour |
|---|---|---|
sort_by |
Sort name below; default release_date_newest |
Uses default page order; a non-default request logs a warning |
incremental |
Boolean; runtime default false |
Always fetches normally; true logs a warning rather than enabling incremental fetching |
Accepted legacy sort names
release_date_newest, release_date_earliest, name, popularity,
when_added_newest, when_added_earliest, when_rated_newest, when_rated_earliest,
average_rating_highest, average_rating_lowest, user_rating_highest,
user_rating_lowest, length_shortest, length_longest.
Replace the placeholder usernames in these examples with real Letterboxd usernames.
Selects the user's watched films in the default returned order. The username is a string, rather than an ID or a URL.
Combines watched films rated at least 8 by the first user with films rated at least 9 by the second. The YAML list combines sources; it does not require both users to have rated the same film. Ratings use a 10-point scale.
Selects up to 50 reviewed films matching the user's review text filter
"favorite", rated at least 7.5. note is a string, min_rating is a decimal
number, and limit is an integer. This does not request a different sort order.
Discovery and filmographies¶
Discovery builders use slugs, the identifying part of a Letterboxd URL,
rather than passing those pages to letterboxd_list. For example, /studio/a24/
uses the slug a24.
All discovery builders accept limit and year. All except letterboxd_similar
also accept sort_by. Use dictionary form to add these options. Keep one discovery
builder value per collection when using custom ordering.
| Option | Purpose |
|---|---|
limit |
Cap returned movies |
year |
Filter release years |
sort_by |
Request discovery order; unavailable for letterboxd_similar |
Crew¶
letterboxd_crew requires both of these string attributes:
| Attribute | Allowed values |
|---|---|
role |
actor, director, writer, casting, editor, cinematography, composer |
person |
Person slug, such as marlon-brando |
This collection selects Francis Ford Coppola's directing credits. Change role
to select another supported credit type, using the appropriate person slug.
collections:
Francis Ford Coppola:
letterboxd_crew:
role: director
person: francis-ford-coppola
collection_order: custom
sync_mode: sync
Other discovery builders¶
Pass a slug directly as a string, or use the named attribute in dictionary form.
| Builder | Dictionary attribute | URL path and slug |
|---|---|---|
letterboxd_studio |
studio |
/studio/a24/: a24 |
letterboxd_country |
country |
/films/country/usa/: usa |
letterboxd_language |
language |
/films/language/english/: english |
letterboxd_genre |
genre |
/films/genre/crime/: crime |
letterboxd_theme |
theme |
/films/theme/crime-drugs-and-gangsters/: crime-drugs-and-gangsters |
letterboxd_similar |
film |
/film/the-godfather/similar/: the-godfather |
letterboxd_collection |
collection |
/films/in/beetlejuice-collection-2/: beetlejuice-collection-2 |
Selects movies similar to The Godfather. The value is the film slug, not
its full URL. This builder does not accept sort_by.
Selects A24 movies, requesting newest release dates first. Unlike user-page
sorting, discovery sort_by is supported for this builder.
Selects up to 20 movies in the Crime, Drugs and Gangsters theme, requesting best-match order. The theme slug and sort name are strings; the limit is an integer.