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.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.4.5-bp154.1.30 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.4.5-bp153.1.19 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
0.4.5-bp152.1.8 info | GA Release | 2020-04-17 | 15 SP2 |
|
|
0.2.5-bp151.3.1 info | GA Release | 2019-07-16 | 15 SP1 |
|
|
0.2.5-bp151.2.11 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
0.2.5-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|