[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using wget to fill in a form



On Sat, 22 Sep 2012 11:28:50 -0500, craig wrote:

>> As others suggest, the query should be something like:
>> 
>> wget http://www.loc.gov/cgi-bin/zgate
>> --post-data="ACTION=SEARCH&TERM_1=1886411484&SESSION_ID=1234567"
> 
> Yeah, I was messing with the --post-data, but I didn't know I had to use
> an ACTION key. Will play with that.

(...)

Mmm... there's another door you can knock:

wget http://www.loc.gov/search --post-data="q=1886411484&all=true&st=list"

Greetings,

-- 
Camaleón


Reply to: