Stateful programmatic web browsing in Python, after Andy Lester's Perl module WWW::Mechanize. WWW: https://github.com/python-mechanize/mechanize