I've been using IMDbPY as a tool for several months, although I don't know much 
about Python.  I've altered the script search_movie.py to do what I need it to 
do, and it has been working fine for several months.  All of a sudden it is 
failing, returning no movies.  Going back to the original search_movie.py and 
running it with the argument 'Wind', the following is output:

2012-06-08 10:37:29,849 CRITICAL [imdbpy] 
 IMDbDataAccessError exception raised; args: ({'url': 
'http://akas.imdb.com/find?s=tt;mx=20;q=Wind', 'error type': 
'http_error_default', 'errcode': 503, 'headers': <httplib.HTTPMessage instance 
at 0x108713170>, 'proxy': '', 'errmsg': 'Service Temporarily Unavailable'},); 
kwds: {}
Probably you're not connected to Internet.  Complete error report:
{'url': 'http://akas.imdb.com/find?s=tt;mx=20;q=Wind', 'error type': 
'http_error_default', 'errcode': 503, 'headers': <httplib.HTTPMessage instance 
at 0x108713170>, 'proxy': '', 'errmsg': 'Service Temporarily Unavailable'}

Running the url 'http://akas.imdb.com/find?s=tt;mx=20;q=Wind' by hand in my 
browser, returns basically an empty error page.  I looked through the parsing 
code, and it indicates, in a comment, that the url should look something like:
'http://akas.imdb.com/find?q=Wind;s=tt;mx=20'.  This url returns a valid page 
which can be parsed.

Has something changed in IMDb to cause this problem, and is there an easy fix, 
even temporary in nature, that can be applied?



Rick Summerhill
Retired, Chief Technology Officer, Internet2
10233 Timberhill Rd
Manchester, MI 48158 USA
Work:   734-428-1422              Cell:  734-276-1904
Email:  rr...@summerhill.org      Web:   http://www.rick.summerhill.org
PGP:  C106 651A A8C0 1518 90F8  7899 B19D 8F35 AC68 00FB

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Imdbpy-help mailing list

Reply via email to