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.17.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for imdbparser-1.0.17-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 094de2d11af1528d38397e0b1375b9721318b5bf13f1af37798dce0216921a26 |
|
MD5 | 0ef17950b6534b8ea6a99b81d6164dc2 |
|
BLAKE2b-256 | 300fd1d38d2072dae7530096a29d11ff9c85048cbdc83e365ee9e05063a08216 |