Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

WWW::Mechanize or WWW::Selenium with javascript redirect

by tphyahoo (Vicar)
on Jan 18, 2007 at 12:03 UTC ( [id://595230]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    http://xml.pangora.com/scripts/Redirect.php?fid=45&mid=1066&serviceNam
    +e=idealo-de&serviceType=portal&oid=1066de515358&sid=73&pt=idealo-de.e
    +xport.1-0&url=http%3A%2F%2Fwww.baur.de%2Fis-bin%2FINTERSHOP.enfinity%
    +2FWFS%2FBaur-BaurDe-Site%2Fde_DE%2F-%2FEUR%2FBV_ExternalCall-Start%3F
    +ArticleNo%3D515358%26NUMSArt%3D4443504%26NUMSArtPc%3D4488615%26Affili
    +ateID%3Dpangora-%2A%26Name%3Dpangora-produktdaten-baur%26ActionID%3Dp
    +reis-produkt-suche-baur%26WKZ%3D79%26IWL%3D101
    
  2. or download this
    use strict;
    use warnings;
    ...
    print "url: $url\n";
    print "html: $html\n";
    print "ok" if $html =~ $price;
    
  3. or download this
    use strict;
    use warnings;
    ...
        $links = $mech->links;
        my $redirect_url = $links->[0]->base->as_string;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://595230]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (1)
As of 2024-04-18 23:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found