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.11.zip (289.5 kB view details)

Uploaded Source

mechanize-0.1.11.tar.gz (241.4 kB view details)

Uploaded Source

File details

Details for the file mechanize-0.1.11.zip.

File metadata

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

File hashes

Hashes for mechanize-0.1.11.zip
Algorithm Hash digest
SHA256 0be23e4738ad21c309dc6882eaafd333560c1dbb523b7a6831c008666dd5212a
MD5 6a901ba7b96e178382e33c5b984dbaa0
BLAKE2b-256 c8b95fc2f9fa97a9ff431bec6171cba78c04ad39654c4c502b4a70bea06dac27

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mechanize-0.1.11.tar.gz
Algorithm Hash digest
SHA256 42ce1e39fe98b7dad3cf1cbbf601284d36e0914c2bdb133e9609fc483cafc2c0
MD5 c5e89a1886e44bd7a8598b0ba47287af
BLAKE2b-256 351d1c3b21a68342a088e8f7be5dfd9d5c0344cca01a835f05e3d333c6b17708

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