Hi
Im trying to retrieve a list of movies a person has worked on, but it only
seems to work on famous people (?)
Below is some copy paste from python:

>>> import imdb
>>> x = imdb.IMDb()
>>> a = x.get_person(1)
2011-10-28 18:51:47,618 WARNING [imdbpy.parser.http.domparser]
imdb\parser\http\utils.py:459: unable to use "lxml": No module named
lxml.html
2011-10-28 18:51:47,642 WARNING [imdbpy.parser.http.domparser]
imdb\parser\http\utils.py:450: falling back to "beautifulsoup"
2011-10-28 18:51:48,621 WARNING [imdbpy.parser.http.domparser]
imdb\parser\http\utils.py:459: unable to use "lxml": No module named
lxml.html
2011-10-28 18:51:48,622 WARNING [imdbpy.parser.http.domparser]
imdb\parser\http\utils.py:450: falling back to "beautifulsoup"
2011-10-28 18:51:48,723 WARNING [imdbpy.parser.http.domparser]
imdb\parser\http\utils.py:459: unable to use "lxml": No module named
lxml.html
2011-10-28 18:51:48,723 WARNING [imdbpy.parser.http.domparser]
imdb\parser\http\utils.py:450: falling back to "beautifulsoup"
>>> a.get_titlesRefs()
{u'The Story of Vernon and Irene Castle (1939)': <Movie id:0031983[http]
title:_The Story of Vernon and Irene Castle (1939)_>, u'Dancing Lady
(1933)': <Movie id:0023926[http] title:_Dancing Lady (1933
)_>, u'The Gay Divorcee (1934)': <Movie id:0025164[http] title:_The Gay
Divorcee (1934)_>, u'Shall We Dance (1937)': <Movie id:0029546[http]
title:_Shall We Dance (1937)_>, u'Funny Face (1957)': <Movi
e id:0050419[http] title:_Funny Face (1957)_>, u'Imagine (1972)': <Movie
id:0172586[http] title:_Imagine (1972)_>, u'Roberta (1935)': <Movie
id:0026942[http] title:_Roberta (1935)_>, u'Follow the Flee
t (1936)': <Movie id:0027630[http] title:_Follow the Fleet (1936)_>, u'Daddy
Long Legs (1955)': <Movie id:0047969[http] title:_Daddy Long Legs (1955)_>,
u'Easter Parade (1948)': <Movie id:0040308[http
] title:_Easter Parade (1948)_>, u'Carefree (1938)': <Movie id:0029971[http]
title:_Carefree (1938)_>, u"That's Entertainment, Part II (1976)": <Movie
id:0075323[http] title:_That's Entertainment, Par
t II (1976)_>, u'Ziegfeld Follies (1945)': <Movie id:0039116[http]
title:_Ziegfeld Follies (1945)_>, u'Flying Down to Rio (1933)': <Movie
id:0024025[http] title:_Flying Down to Rio (1933)_>, u'Saturda
y Night Fever (1977)': <Movie id:0076666[http] title:_Saturday Night Fever
(1977)_>, u'The Barkleys of Broadway (1949)': <Movie id:0041158[http]
title:_The Barkleys of Broadway (1949)_>, u'Top Hat (19
35)': <Movie id:0027125[http] title:_Top Hat (1935)_>, u'Swing Time (1936)':
<Movie id:0028333[http] title:_Swing Time (1936)_>, u'Blue Skies (1946)':
<Movie id:0038370[http] title:_Blue Skies (1946)_
>}
>>> b = x.get_person(1459663)
2011-10-28 18:52:38,118 WARNING [imdbpy.parser.http.domparser]
imdb\parser\http\utils.py:459: unable to use "lxml": No module named
lxml.html
2011-10-28 18:52:38,118 WARNING [imdbpy.parser.http.domparser]
imdb\parser\http\utils.py:450: falling back to "beautifulsoup"
>>> b.get_titlesRefs()
{}
>>>


What can i do to get it to work?

Thanks
Gustaf


-- 
■ ■ ■ ■ ■ ■ ■ ■ ■ ■
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help

Reply via email to