I don't have help for you with your question directly. I will say it's against Amazon's terms of service to do what you're doing and there's no reason to bother; it's difficult and dicey and they often swap page layouts live as parts of A/B tests or phasing in changes across many servers. They have a free API which gets the information robustly; and, though it won't feel like it at first, quite directly and simply. I don't think there are any good Perl tutorials on it though which is sad.
URI::Amazon::APA is an excellent, minimal interface to the REST version of the APA (Amazon Product Advertising) portion of the AWS (Amazon Web Services). You need a dev account and to do some document diving but it has big advantages over what you're trying to do: 1) it's not breaking your user agreement, 2) it's robust and won't fail/change (well, not more than once every five years or so anyway).
I don't know if there are modules with more features to do this on the CPAN right now. I do know that the legacy Amazon interface to the ECS (E-Commerce Service) which is what most of the older modules are (and, again, sadly, the one I wrote for myself and a client and will have to replace) going to stop working on August 15th. Amazon gave a loooooong lead time on this; over a year if memory serves. And the original disconnect date is well past due, again, IIRC. So this deadline seems unlikely to be pushed back.
In reply to Re: Using Mechanize to get website content
by Your Mother
in thread Using Mechanize to get website content
by techtoys
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |