Skip to content

JohnDoee/imdbparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imdbparser

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

About

Basic IMDB Parser with a nice MIT license

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages