[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev -post_data sample please
From: |
Reza |
Subject: |
Re: lynx-dev -post_data sample please |
Date: |
Fri, 20 Aug 1999 18:46:23 -0700 |
Klaus Weide wrote:
>
> On Tue, 17 Aug 1999, Reza wrote:
>
> > I try to get the following form programmatically, by using -post_data:
> >
> > <form method=POST
> > action="http://auctions.amazon.com/exec/varzea/subsequent-query/qid=934502155/002-2579128-3212046">
> > <input type="hidden" name="subsequent-query"
> > value="%28browse%5Fcategory%20%3D%20%2268682%22%29and%28enddate%20%3D%20%22934502155-%22%29">
> > [ etc., snipped ]
> >
> > I have tried numerous variations of the command "lynx -post_data". Non
> > give correct results, even though some output totally irrevant stuff. I
> > am using RedHat Linux. Please give a WORKING sample if you can. Thank
> > you.
>
> Submit the form once normally, interactively. From the resulting
> page, invoke INFO ('='). Under Post Data, you will find the string to
> feed to -post_data (concatenate the several lines, do not include any
> spaces).
>
> If that does not work, it is up to you to provide more information:
> what exactly you tried, and what you got as a result, and why you think
> the result is wrong.
>
> Oh yeah, it would help if you told us what version of lynx you are using.
>
> Klaus
Dear Klaus or to whom it may concern:
I am using:
RedHat Linux version 6
lynx version 2.8.1rel.2 (1998)
The "=" sign in lynx gives this:
URL:
http://auctions.amazon.com/exec/varzea/subsequent-query/qid=935196537/002-0360894-0549430
post_data:
subsequent-query=%2528browse%255Fcategory%2520%253D%2520%252268286%2522%2529and%2528enddate%2520%253D%2520%2522935196537-%2522%2529
start=50
hint2=5
hint3=67
hint4=6
hint5=
hint6=0
domain=56
What I type at the command prompt is this:
address@hidden ~]: lynx -post_data
http://auctions.amazon.com/exec/varzea/subsequent-query/qid=935196537/002-0360894-0549430<press
enter>
subsequent-query=%2528browse%255Fcategory%2520%253D%2520%252268286%2522%2529and%2528enddate%2520%253D%2520%2522935196537-%2522%2529<enter>
start=50<enter>
hint2=5<enter>
hint3=67<enter>
hint4=6<enter>
hint5=<enter>
hint6=0<enter>
domain=56<enter>
---<enter>
What I get is this:
lynx: Can't access startfile
http://auctions.amazon.com/exec/varzea/subsequent-query/qid=935196537/002-0360894-0549430
address@hidden ~]: