Skip to main content

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

mechanize-0.1.10.zip (287.9 kB view details)

Uploaded Source

mechanize-0.1.10.tar.gz (253.8 kB view details)

Uploaded Source

File details

Details for the file mechanize-0.1.10.zip.

File metadata

  • Download URL: mechanize-0.1.10.zip
  • Upload date:
  • Size: 287.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mechanize-0.1.10.zip
Algorithm Hash digest
SHA256 b53280994faa7b213a32ca64a6ce297ce58a4e01747b2edc851b889e4df33fc9
MD5 0b1a7bca36dbb2e45a80fbfd49de92da
BLAKE2b-256 6095b469169695c2bd71b553f809de34aa1499e1b963197190842202d88139dd

See more details on using hashes here.

File details

Details for the file mechanize-0.1.10.tar.gz.

File metadata

  • Download URL: mechanize-0.1.10.tar.gz
  • Upload date:
  • Size: 253.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mechanize-0.1.10.tar.gz
Algorithm Hash digest
SHA256 df578b0534e8e54da8b9d2d833d5954aff607a326f63aa3e0da3ffb191fa1d44
MD5 596929b51dc7fb6f39f785db5095637f
BLAKE2b-256 cd886bc9123e6809b786b95d87af7ff83553e3b0089fd3480f0941888a823cad

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page