Stateful programmatic web browsing

Edit Package python-mechanize

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.

Refresh
Refresh
Source Files
Filename Size Changed
mechanize-0.4.8.tar.gz 0000218055 213 KB
python-mechanize-setup.cfg.patch 0000000944 944 Bytes
python-mechanize.changes 0000009252 9.04 KB
python-mechanize.spec 0000002353 2.3 KB
Latest Revision
Yuchen Lin's avatar Yuchen Lin (maxlin_factory) accepted request 1059486 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 3)
- Remove unneeded BuildRequires on python. 

- Reference upstream patch in specfile for future updates
- Remove catchall in files section that would have found the
  mistake
- Update shebang fix commands
- Fix requirements
- Update description

- Add python-mechanize-setup.cfg.patch to fix mechanize not
  found during build. (boo#1202003)

- update to 0.4.8:
  * Handle mal-encoded robots.txt files more gracefully
  * Support HTTP 308 redirects

- Update to 0.4.7 (bsc#1207242, CVE-2021-32837):
  * Fix the ~ character being percent escaped when sending URLs to servers.
  * Python 3.10 compatibility
  * Fix a bug in the regex used to parse www-authenticate headers that could
    lead to Denial-of-Service
Comments 0
openSUSE Build Service is sponsored by