bug-wget
[Top][All Lists]
Advanced

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

[Bug-wget] fetching pages, clicking buttons


From: Voytek Eymont
Subject: [Bug-wget] fetching pages, clicking buttons
Date: Wed, 21 Nov 2012 11:21:26 +1100
User-agent: SquirrelMail/1.5.2 [SVN]

I have a basic wget sequence to fetch some pages from passworded site
(wget sequence largely constructed with help from this ML)

the web site I would like to access has been totally redesigned, and, I'm
trying re-design my wget sequence

immediately after logging, I have to acknowledge access to the site with
accept/reject button;

with browser login is like this:

www.site.tld/                 (enter user/pw), get:
www.site.tld/index.php        (need to 'accept' to enter)

my current sequence is like:

------------
wget 
--post-data='username=name&password=password&_action_login=Login&_module=login&_template=login&_action=_login'
--save-cookies=my-cookies --keep-session-cookies
http://www.dom.tld/index.php

that gets me 'index.php' saved, inside 'index.php' I have like:

-----------
<div class="pfbc-buttons">
<input value="Accept" type="submit" onclick=" setAction(this.form,
'accept','0',null, '0'); " class="accept_btn"/>
<input value="Reject" type="submit" onclick=" setAction(this.form,
'reject','0',null, '0'); " class="reject_btn"/>
</div>
-----------

how do I push the 'Accept' button ?


(and, thanks for the pointers with my past query)


-- 
Voytek




reply via email to

[Prev in Thread] Current Thread [Next in Thread]