I was running into an issue between development and production,
search_movie() was returning corrupted fields.

>>> import imdb
>>> imdb_instance = imdb.IMDb()
>>> imdb_instance.search_movie('Sherlock Holmes')
[<Movie id:0988045[http] title:_(2009 (2009)_>, <Movie id:0066249
[http] title:_(1970 (1970)_>, <Movie id:0031022[http] title:_(1939 ...

>>> import imdb
>>> imdb_instance = imdb.IMDb()
>>> imdb_instance.search_movie('Sherlock Holmes')
[<Movie id:0988045[http] title:_Sherlock Holmes (2009)_>, <Movie id:
0066249[http] title:_The Private Life of Sherlock Holmes (1970)_>...]

When I renamed the lxml library to hide it, it worked with the
fallback beautifulsoup. Anyways, I thought I'd make a note in case
others encountered similar oddities, hopefully saving someone time.
lxml works in development with the most up to date libxml2/libxslt.

>>> etree.LIBXML_VERSION
(2, 6, 26)
>>> etree.LXML_VERSION
(2, 2, 4, 0)


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help

Reply via email to