IMDB Parser
Project description
Search IMDb and get movie information. Incredibly basic, limited feature-set, somewhat fast.
Usage
Get from ID
>>> from imdbparser import IMDb
>>> imdb = IMDb()
>>> movie = imdb.get_movie(1954470)
>>> movie.fetched
False
>>> movie.fetch()
>>> movie.fetched
True
>>> movie.__dict__
...
Search
>>> from imdbparser import IMDb
>>> imdb = IMDb()
>>> search_result = imdb.search_movie('Matrix')
>>> search_result.fetched
False
>>> search_result.fetch()
>>> search_result.fetched
True
>>> search_result.results
[<Movie fetched=False imdb_id='0133093' title='The Matrix' year=1999>,
<Movie fetched=False imdb_id='0234215' title='The Matrix Reloaded' year=2003>, ...]
>>> from imdbparser import IMDb
>>> imdb = IMDb()
>>> search_result = imdb.search_tv_show('it crowd')
>>> search_result.fetched
False
>>> search_result.fetch()
>>> search_result.fetched
True
>>> search_result.results
[<Movie fetched=False imdb_id='0487831' title='The IT Crowd' year=None>,
<Movie fetched=False imdb_id='0944954' title='The IT Crowd' year=None>, ...]
License
MIT, see LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
imdbparser-1.0.22.tar.gz
(21.2 kB
view hashes)
Built Distribution
Close
Hashes for imdbparser-1.0.22-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93deb4fd08129fadc42a54b017ffb4a93eabe439c46da24d5ba8ca7f1cb498b9 |
|
MD5 | 5043fe59b421b6b4af5bc6fba1e9f7ba |
|
BLAKE2b-256 | e0815b943da611d3d96d0d4cffead5edd07aed19f5be8cf5ed8a04ce8c75eda9 |