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.9.tar.gz 0000218286 213 KB
python-mechanize.changes 0000009941 9.71 KB
python-mechanize.spec 0000002130 2.08 KB
Revision 33 (latest revision is 34)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1129230 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 33)
- update to 0.4.9:
  * Fix error on PyPy3
  * Fix error CPython 3.12
- drop python-mechanize-setup.cfg.patch,
  support-python-311.patch: upstream

    both.
- Remove unneeded BuildRequires on python.
    lead to Denial-of-Service
  * URLs passed into mechanize now automatically have URL unsafe
    characters percent encoded. This is necessary because newer
    versions of python disallow processing of URLs with unsafe
    characters. Note that this means values return by
    get_full_url(), get_selector() etc will be percent encoded.
- added missing dependencies: Twisted, zope.interface and html5lib
  * A couple of python 3 specific fixes for proxy authorization and
    adding controls to forms
    * Add a finalize_request_headers callback to Browser to allow
      users full control of what headers are sent with every
    * Fix processing of http-equiv meta tags incorrectly lower casing
    * Fix error when a textbox contained within a form contains
- changed BR python-clientform to python-ClientForm (now it matches)
- Removed provides (wrong package)
Comments 0
openSUSE Build Service is sponsored by