cURL / Mailing Lists / curl-users / Single Mail

curl-users

parsing values of pull down menu

From: Pankaj <pankaj_at_nii.res.in>
Date: Thu, 23 Mar 2006 16:28:50 +0530

Hi,

I am a new member to the mailing list.
I m using the following url
"http://ncbi.nlm.nih.gov/entrez/query.fcgi?db=genome&cmd=Retrieve&dopt=Protein+Table&list_uids=380"
On this page there is a pull down menu saying "SEND TO" (which appears on the
top of the page) to save the page in text format.
I want to automate this process.
For this i write the curl code as:
"curl -x 202.141.88.122:8080 -o prot_table.html -d db=genome -d cmd=Retrieve
-d dopt=Protein+Table -d list_uids=380
http://www.ncbi.nlm.nih.gov/entrez/query.fcgi"
Using this i Get the page in HTML format but I want it in text format.
How do I tell curl to select option "TEXT". This appears on a pull down menu.
How to parse values of pull down menu to curl.
Thanking all in advance

Pankaj Khurana

--
Open WebMail Project (http://openwebmail.org)
Received on 2006-03-23