Re: How to POST call and retrieve result page

2008-01-12 Thread suyash jape
Hi /search.php fills the text box values. But /search.php has two form action elements 1) AND 2) I did GET and POST to both results.php page , which gives *'String could not be parsed as XML'* exception. Should data passed be in some XML format or normal query ? POST on blast_results.php

Re: How to POST call and retrieve result page

2008-01-11 Thread Mike Meyer
On Fri, 11 Jan 2008 14:44:19 +0530 "suyash jape" <[EMAIL PROTECTED]> wrote: > Hi all > i want to access a web page through python script, fillup the necessary > fields, > and press submit button (which does POST call) and retrieve the result page > and retrieve some values from it. > > Here is th

How to POST call and retrieve result page

2008-01-11 Thread suyash jape
Hi all i want to access a web page through python script, fillup the necessary fields, and press submit button (which does POST call) and retrieve the result page and retrieve some values from it. Here is the script i have written till now. >import urllib2 > # create array of name/value pairs > s