Quote:
Originally Posted by zapt0
A cookie is just a text string though, so Tacit can read the content of the cookie (possible to do in all browsers) and then set the cookie in the recipe. You could also make the cookie last forever unless they specifically blocked that on the server end.
As for setting a cookie it is done by using get_browser() in calibre to fetch the browser object and then set the cookie by creating a "cookie jar" and adding a cookie to it - Calibre uses the "mechanize" python browser. Please see this for further documentation and help:
http://wwwsearch.sourceforge.net/mechanize/
|
Yes, that's how it's done (there's no need to explicitly set the cookie jar or use mechanize unless you need to modify the cookies or want to track them for debugging, as get_browser does it all for you), but he seemed to be saying that only IE worked (I suspect it's not true, but one can't be sure).