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.19.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for imdbparser-1.0.19-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04f3b2d6d91b592fdb41c7eb62a66688d14e0b42706581fdaaed6ee257f3d512 |
|
MD5 | c32e83d4664e74afc52a4032f41ff9e0 |
|
BLAKE2b-256 | 153e73dbb496e4570159a434e18b9a4191ff0d67b35be6627de5add0f41c7d18 |