Top "Mechanize-python" questions

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

CertificateError: hostname doesn't match

I'm using a proxy (behind corporate firewall), to login to an https domain. The SSL handshake doesn't seem to be …

python ssl mechanize mechanize-python
How to get filename from Content-Disposition in headers

I am downloading a file with Mechanize and in response headers there is a string: Content-Disposition: attachment; filename=myfilename.txt …

python mechanize-python
How to get mechanize requests to look like they originate from a real browser

OK, here's the header(just an example) info I got from Live HTTP Header while logging into an account: http://…

python http-headers http-post mechanize mechanize-python
Sending a POST with mechanize and requests.

I am trying to send a POST using mechanize however my code won't work sometimes(and I know why). I …

python csrf python-requests mechanize-python twill
python - mechanize (setting input into form)

I found out how to retreive the html page of a topic from google search using a tutorial.This was …

python forms mechanize mechanize-python
how to set cookie in python mechanize

After sending request to the server br.open('http://xxxx') br.select_form(nr=0) br.form['MESSAGE'] = '1 2 3 4 5' br.…

python mechanize-python
Python: how to dump cookies of a mechanize.Browser instance?

I am learning how to use mechanize, a Python module to automate interacting with websites. One feature is the automated …

python cookies mechanize-python
How do I delete an instance of a class in python (by force)?

I'm using a script to test if a website runs smoothly, basically I open the site every 20 minutes or so …

python mechanize mechanize-python
Mechanize in Python - Redirect is not working after submit

I just started using mechanize in Python and I'm having some problems with it already. I've looked around on StackOverflow …

python mechanize mechanize-python
Python Mechanize select form FormNotFoundError

I want to select a form with mechanize. This is my code: br = mechanize.Browser() self.br.open(url) br.…

python mechanize mechanize-python