On Apr 19, Chris Lucas <cjluca...@gmail.com> wrote:

> Sorry should have mentioned that, i had the problem with 3.9 so i  
> upgraded to 4.0, same issue.

I think I've understood the problem: you're using the "mobile" data
access system (or "http", but you don't have the lxml Python library
installed), right?
The IMDb site recently has changed the SGML/XML char-refs in its html,
and the "mobile" data access system (and partially not even "http")
didn't expect references like &#x22; for double-quotes.

It's fixed in 4.1; it's a serious bug, and I meditate a new
release in the next weeks.
In the meanwhile, you can get 4.1 from here:
  http://imdbpy.sourceforge.net/index.php?page=download#svn


The, please try this script:

====================================================
import imdb

print 'IMDbPY version', imdb.VERSION

i = imdb.IMDb('http') # or 'mobile'
m = i.get_movie('0389564')

print '%s (%s) is a "%s"' % (m['long imdb title'].encode('utf-8'),
                            i.get_imdbURL(m), m['kind'])
====================================================

Using 4.1 (the SVN version), I get:
IMDbPY version 4.1
"The 4400" (2004) (http://akas.imdb.com/title/tt0389564/) is a "tv series"



-- 
Davide Alberani <davide.alber...@gmail.com> [PGP KeyID: 0x465BFD47]
http://erlug.linux.it/~da/

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel

Reply via email to