Phylm
When deciding which film to watch next, it can be helpful to have some key datapoints at your fingertips, for example, the genre, the cast, the Metacritic score and, perhaps most importantly, the runtime. This package provides a Phylm class to gather information from various sources for a given film.
Installing¶
pip install phylm
Example¶
>>> import asyncio
>>> from phylm import Phylm
>>> p = Phylm("The Matrix")
>>> asyncio.run(p.load_source("imdb"))
>>> p.imdb.rating
8.7
This package uses web scraping for the Rotten Tomatoes and Metacritic results and is therefore at the mercy of changes made to those webpages.
Last update: 2023-10-18