in reply to WWW::Mechanize Problem
wait through this page and then scrape the content from the final page
Loop
do { $mech->follow_link(tag=>'meta'); } until ThisIsThePageIWant( $mech ); print $mech->content(format => 'text');
My problem is that I really don't understand these requests enough to determine how I should modify my code to make it send the right requests
Read Ovid's CGI Course
Do you see the connection? GET is GET$ perl -MWWW::Mechanize -le " print WWW::Mechanize-> new->get( shift ) +->request ->as_string" http://example.com GET http://www.iana.org/domains/example/ Accept-Encoding: gzip User-Agent: WWW-Mechanize/1.68
The key issue is extracting the whole URL or just job_key and ctg_time from content (meta or wherever)GET /tools/primer-blast/primertool.cgi?ctg_time=1310519679&job_key=JSI +D_01_116688_130.14.24.201_9000 HTTP/1.1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: WWW::Mechanize Problem
by dobson187 (Initiate) on Jul 13, 2011 at 18:08 UTC | |
by dobson187 (Initiate) on Jul 21, 2011 at 07:03 UTC |