Stateful programmatic web browsing.
Project description
Stateful programmatic web browsing, after Andy Lester’s Perl module WWW::Mechanize.
The library is layered: mechanize.Browser (stateful web browser), mechanize.UserAgent (configurable URL opener), plus urllib2 handlers.
Features include: ftp:, http: and file: URL schemes, browser history, high-level hyperlink and HTML form support, HTTP cookies, HTTP-EQUIV and Refresh, Referer [sic] header, robots.txt, redirections, proxies, and Basic and Digest HTTP authentication. mechanize’s response objects are (lazily-) .seek()able and still work after .close().
Much of the code originally derived from Perl code by Gisle Aas (libwww-perl), Johnny Lee (MSIE Cookie support) and last but not least Andy Lester (WWW::Mechanize). urllib2 was written by Jeremy Hylton.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size mechanize-0.1.9-py2.5.egg (227.0 kB) | File type Egg | Python version 2.5 | Upload date | Hashes View |
Filename, size mechanize-0.1.9.tar.gz (248.2 kB) | File type Source | Python version None | Upload date | Hashes View |
Filename, size mechanize-0.1.9.zip (281.5 kB) | File type Source | Python version None | Upload date | Hashes View |