Skip to content

API Reference: Films

letterboxdpy.films.Films

Fetch movies from Letterboxd based on different URLs.

count property

Return the count of movies.

movies property

Get movies from the URL.

__init__(url, max=None)

Initialize Films class with a URL.

get_movies()

Scrape and return a dictionary of movies from Letterboxd.

get_upcoming_movies(max=None)

get_movies_by_decade(decade, max=None)

get_movies_by_year(year, max=None)

get_movies_by_genre(genre, max=None)

action, adventure, animation, comedy, crime, documentary, drama, family, fantasy, history, horror, music, mystery, romance, science-fiction, thriller, tv-movie, war, western

get_movies_by_service(service, max=None)

netflix, hulu, prime-video, disney-plus, itv-play, apple-tv, youtube-premium, amazon-prime-video, hbo-max, peacock, ...

get_movies_by_theme(theme, max=None)

get_movies_by_nanogenre(nanogenre, max=None)

get_movies_by_mini_theme(theme, max=None)