cookies – Automatic Handling of Browser Cookies

class lib.browser.plugins.cookies.CookieBrowserPlugin

Adds a handler to a lib.browser.Browser for cookies. Recieving and sending cookies then happens in a automatic fashion.


Creates a new plugin with an empty jar.

cookie_jar(plugin, browser)

Adds the property cookie_jar to the browser, allowing you to get the handler’s http.cookiejar.CookieJar instance.

Previous topic redirect – Base Plugin Class for Handling Redirections

Next topic useragent – HTTP user-agent Spoofing

This Page