icon

Stateful programmatic web browsing in Python

mechanize_python39-0.4.5-1-any

Stateful programmatic web browsing in Python, after Andy Lester’s Perl module WWW::Mechanize.

- mechanize.Browser and mechanize.UserAgentBase implement the interface of urllib2.OpenerDirector, so any URL can be opened, not just http.
- mechanize.UserAgentBase offers easy dynamic configuration of user-agent features like protocol, cookie, redirection and robots.txt handling, without having to make a new OpenerDirector each time, e.g. by calling build_opener().
- Easy HTML form filling.
- Convenient link parsing and following.
- Browser history (.back() and .reload() methods).
- The Referer HTTP header is added properly (optional).
- Automatic observance of robots.txt.
- Automatic handling of HTTP-Equiv and Refresh.

Name
mechanize_python39
Repository
HaikuPorts
Repository Source
haikuports_x86_64
Version
0.4.5-1
Download Size
223.7 KB
Source available
No
Categories
None
Version Views
4