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 details)
Built Distribution
File details
Details for the file imdbparser-1.0.22.tar.gz
.
File metadata
- Download URL: imdbparser-1.0.22.tar.gz
- Upload date:
- Size: 21.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.5rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 746f1594556cd389d90a498f70af399b2a9c20d80dcf1b4695f57f625edcaf59 |
|
MD5 | 9f094027b01446f90701cc201fcf5ca3 |
|
BLAKE2b-256 | fdd8d3c3b6b0ef4df3d0bcd7fe4cb32774dfbd4cef0f3445f3d68f77bb291251 |
File details
Details for the file imdbparser-1.0.22-py2.py3-none-any.whl
.
File metadata
- Download URL: imdbparser-1.0.22-py2.py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.5rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93deb4fd08129fadc42a54b017ffb4a93eabe439c46da24d5ba8ca7f1cb498b9 |
|
MD5 | 5043fe59b421b6b4af5bc6fba1e9f7ba |
|
BLAKE2b-256 | e0815b943da611d3d96d0d4cffead5edd07aed19f5be8cf5ed8a04ce8c75eda9 |