Is IMDbPy 4.5.1 Running?
I am getting quite the error message.

Traceback (most recent call last):
  File "C:\TestPad\python\HNA\Scraper\boto1.py", line 16, in <module>
    a = ia.search_movie('avatar')[0]
  File
"C:\Python26\lib\site-packages\imdbpy-4.4-py2.6-win32.egg\imdb\__init__.py",
line 365, in search_movie
    res = self._search_movie(title, results)
  File
"C:\Python26\lib\site-packages\imdbpy-4.4-py2.6-win32.egg\imdb\parser\http\__init__.py",
line 425, in _search_movie
    cont = self._get_search_content('tt', title, results)
  File
"C:\Python26\lib\site-packages\imdbpy-4.4-py2.6-win32.egg\imdb\parser\http\__init__.py",
line 408, in _get_search_content
    cont = self._retrieve(imdbURL_find % params)
  File
"C:\Python26\lib\site-packages\imdbpy-4.4-py2.6-win32.egg\imdb\parser\http\__init__.py",
line 394, in _retrieve
    return self.urlOpener.retrieve_unicode(url, size=size)
  File
"C:\Python26\lib\site-packages\imdbpy-4.4-py2.6-win32.egg\imdb\parser\http\__init__.py",
line 164, in retrieve_unicode
    uopener = self.open(url)
  File "C:\Python26\lib\urllib.py", line 206, in open
    return getattr(self, name)(url)
  File "C:\Python26\lib\urllib.py", line 361, in open_http
    return self.http_error(url, fp, errcode, errmsg, headers)
  File "C:\Python26\lib\urllib.py", line 378, in http_error
    return self.http_error_default(url, fp, errcode, errmsg, headers)
  File
"C:\Python26\lib\site-packages\imdbpy-4.4-py2.6-win32.egg\imdb\parser\http\__init__.py",
line 216, in http_error_default
    'proxy': self.get_proxy()}
IMDbDataAccessError: {'url': 'http://akas.imdb.com/find?s=tt;mx=20;q=avatar',
'error type': 'http_error_default', 'errcode': 403, 'headers':
<httplib.HTTPMessage instance at 0x0000000003E07048>, 'proxy': '', 'errmsg':
'Forbidden'}


JCR
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help

Reply via email to