javascript - Howto use WWW::Mechanize to access pages split by drop-down list -
i have list of genes download following links. problem it's separated 60 pages, under drop-down list.
http://diana.cslab.ece.ntua.gr/micro-cds/index.php?r=search/results_mature&mir=hsa-mir-3131&kwd=mimat0014996
how can make www::mechanize access genes pages?
this current code have:
use www::mechanize; use strict; use warnings; $url = "http://diana.cslab.ece.ntua.gr/micro-cds/index.php?r=search/results_mature&mir=hsa-mir-3131&kwd=mimat0014996"; $mech = www::mechanize->new(); $mech->agent_alias("windows ie 6"); $mech->get($url); #only access first page.
the page drop-down implemented using javascript. can't mechanize, because doesn't implement javascript. see faq
Comments
Post a Comment