Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Help with logging in to a tricky ASP web form with JavaScript using WWW::Mechanize

by OfficeLinebacker (Chaplain)
on Sep 30, 2011 at 22:17 UTC ( #928943=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl --
    use strict;
    ...
     else {
         die $response->status_line;
     }
    
  2. or download this
    $mech->set_fields(
                'ctl00$ContentPlaceHolder1$ctl00$rcbusertype_Input' => "Su
    +bscriber",
                'ctl00$ContentPlaceHolder1$ctl00$txtUserName'    => $un,
    ...
    my $response = $mech->click_button( name => 'ctl00$ContentPlaceHolder1
    +$ctl00$LoginButton',
                                       x=>26,
                                       y=>10);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://928943]
Approved by ww
help
Chatterbox?
[Discipulus]: yes, some semantic for the searxh must implemented before using such kind of query
[Corion]: Yeah - I have either to come up with a better search query or simply steal the template of some other file download site... I'm thinking of turning the JSON for Strawberry Perl releases into a small website that offers the files for download, with a ...
[Corion]: ... separate page per release, and potentially RSS for the versions

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2017-02-28 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (398 votes). Check out past polls.