In [33]: import imdb
In [34]: ia = imdb.IMDb('http')
In [35]: person = ia.get_person("0491402")
In [36]: person.key2infoset
Out[36]:
{'birth date': 'biography',
'birth name': 'biography',
'birth notes': 'biography',
'height': 'biography',
'mini biography': 'biography',
'name': 'main',
'quotes': 'biography',
'spouse': 'biography',
'trade mark': 'biography',
'trivia': 'biography',
'where now': 'biography'}
In [37]: ia.update(person, 'all')
In [38]: person.key2infoset
Out[38]:
{u'article': 'publicity',
'awards': 'awards',
'birth date': 'biography',
'birth name': 'biography',
'birth notes': 'biography',
'episodes': 'episodes',
'genres': 'genres links',
'height': 'biography',
u'interview': 'publicity',
'keywords': 'keywords links',
u'magazine cover photo': 'publicity',
'merchandising links': 'merchandising links',
'mini biography': 'biography',
'name': 'main',
'news': 'news',
'other works': 'other works',
u'pictorial': 'publicity',
u'portrayed in': 'publicity',
'quotes': 'biography',
'spouse': 'biography',
'trade mark': 'biography',
'trivia': 'biography',
'where now': 'biography'}
In [39]: person['name']
Out[39]: u'Hugh Laurie - IMDb'
In [40]:
I don't believe Hugh Laurie doesn't have a head shot in imdb
(my browser says:
http://ia.media-imdb.com/images/M/MV5BNjIxMTQ0MDY3N15BMl5BanBnXkFtZTcwNDIxMzY3Mg@@._V1._SX93_SY140_.jpg)
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Imdbpy-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/imdbpy-help