> 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.
Hi Rick,
1. search for .../imdb/parser/http/__init__.py in your installation directory.
2. within __init__.py, search for a function:
_get_search_content
3. within the function,
change
params = 's=%s;mx=%s;q=%s' % (kind, str(results), quote_plus(ton))
To
params = 'q=%s;s=%s;mx=%s' % (quote_plus(ton), kind, str(results))
The IMDB query URL keeps changing once in a rare while. This should solve the
problem at hand.
-Mayank.
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/imdbpy-help