Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

How to get 1st and 2nd page url with the help of advanced page url

by Priti24 (Novice)
on Oct 04, 2011 at 09:56 UTC ( #929490=perlquestion: print w/ replies, xml ) Need Help??
Priti24 has asked for the wisdom of the Perl Monks concerning the following question:

i have only advanced search url of any educational site. i successfully fetched the form information of advanced page and made a request exactly same as source is making with the help of following code.

my @forms = HTML::Form->parse($res); @forms = grep{$_->attr('name') eq 'EntrezForm'} @forms; my $form = shift @forms; my $req = $form->click('EntrezSystem2.PEntrez.Pubmed.Pubmed_AdvancedSe +arch.Pubmed_AdvancedSearchBox.Search'); return $req;

So Please tell me what else i can do to fetch the 1st page url and further more pages url.....

  • Comment on How to get 1st and 2nd page url with the help of advanced page url
  • Download Code

Replies are listed 'Best First'.
Re: How to get 1st and 2nd page url with the help of advanced page url
by Shaveta_Chawla (Acolyte) on Oct 04, 2011 at 10:08 UTC
    hey Priti.. How r u?? Have you tried WWW::Mechanize... There are so many methods which you can try... i have not exactly understood your problem..can you xplain a little bit more. then i ll be able to tell you the exact method... God Bless You..
      Dear mam, how should i used WWW::Mechanize ? can u tell me with the help of code...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2016-07-30 00:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (264 votes). Check out past polls.