hodge-podge has asked for the wisdom of the Perl Monks concerning the following question:
This is all I have so far as I am running into the problem of recognizing the price alone in the html. Any help would be greatly appreciated... Thanks.use LWP; use LWP 5.64; use URI; LWP::Simple my $browser = LWP::UserAgent->new; $prod = <>; my $url = URI->new( 'http://www.amazon.com/s/ref=nb_ss_gw?url=search-a +lias%3Dtools&field-keywords=$prod;' ); $url->query_form{ 'product number' => <>; } my $response = $browser->get( $url );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Price finding...
by CountZero (Bishop) on Jun 08, 2009 at 18:02 UTC | |
|
Re: Price finding...
by Your Mother (Archbishop) on Jun 08, 2009 at 17:48 UTC | |
|
Re: Price finding...
by Corion (Patriarch) on Jun 08, 2009 at 17:30 UTC | |
|
Re: Price finding...
by superfrink (Curate) on Jun 08, 2009 at 19:53 UTC |