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.9.zip (281.5 kB view details)

Uploaded Source

mechanize-0.1.9.tar.gz (248.2 kB view details)

Uploaded Source

Built Distribution

mechanize-0.1.9-py2.5.egg (227.0 kB view details)

Uploaded Source

File details

Details for the file mechanize-0.1.9.zip.

File metadata

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

File hashes

Hashes for mechanize-0.1.9.zip
Algorithm Hash digest
SHA256 36e67d40f0bac0f1b89123fe2cadda4e822ac97a60d4e7290b1c12a739422955
MD5 7295d097dc2c223599265ac259d60a58
BLAKE2b-256 fe30f46a0693239379d6c1ef468c59a911179b869360553df3c43725b7bb8666

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mechanize-0.1.9.tar.gz
Algorithm Hash digest
SHA256 e7872b25703ba88b286aa0d7da24b2d9e893fb8ff3bc44eeceb572ee5299af0d
MD5 6754f9959a2d00ec028bf84db9300e87
BLAKE2b-256 ed8a040d731703fb586fd134e80abba3bdc3e162bdf72f7b7f1287fe5c4fb2e0

See more details on using hashes here.

File details

Details for the file mechanize-0.1.9-py2.5.egg.

File metadata

File hashes

Hashes for mechanize-0.1.9-py2.5.egg
Algorithm Hash digest
SHA256 f12e923347ee8bce2e798f67a60135e9213ecfe4f22966c88ed121880e8b598c
MD5 274b83d6dce58ff0fdbc4010949f874f
BLAKE2b-256 912314ec96b7f700aa2412b9d3d140c6e9ac4103140d92e93aa9d741a2e9ed82

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