How to handle redirects while parsing HTML? - Python
Posted
by RadiantHex
on Stack Overflow
See other posts from Stack Overflow
or by RadiantHex
Published on 2010-04-02T20:42:24Z
Indexed on
2010/04/02
22:43 UTC
Read the original article
Hit count: 267
Hi folks,
I'm trying to submit a few forms through a Python script, I'm using the mechanized library.
This is so I can implement a temporary API.
The problem is that before after submission a blank page is returned informing that the request is being processed, after a few seconds the page is redirected to the final page.
I understand if it might sound a bit generic, but I'm not sure what is going on. :)
Any ideas?
© Stack Overflow or respective owner