Stateful programmatic web browsing
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.
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
3
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:Rebuild/python-mechanize && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
mechanize-0.4.0.tar.gz | 0000201003 196 KB | |
python-mechanize.changes | 0000006138 5.99 KB | |
python-mechanize.spec | 0000002784 2.72 KB |
Revision 20 (latest revision is 34)
- Upgrade to 0.4.0: * Python 3 compatibility * Add a finalize_request_headers callback to Browser to allow users full control of what headers are sent with every request * Preserve header ordering when making HTTP requests * Fix processing of http-equiv meta tags incorrectly lower casing the content * Fix error when a textbox contained within a form contains unicode characters - Add missing BR for testing (Twisted and zope.interface)
Comments 0