Small Mosaic


Categories:

/books
/career
/codinghorrors
/events
/geekstuff
/justdont
/languages
/languages/bash
/linkshot
/magazines
/meta
/misctech
/movies
/nottech
/operatingsystems
/operatingsystems/linux
/operatingsystems/linux/debian
/operatingsystems/solaris
/perl
/presentations
/programming
/python
/ruby
/security
/security/apache
/security/tools
/serversmells
/services
/services/dns
/sites
/specifications
/sysadmin
/testing
/tools
/tools/commandline
/tools/firefox
/tools/gui
/tools/network
/tools/online
/tools/online/greasemonkey
/tools/puppet
/unixdaemon

Archives:

July 20111
June 20112
May 20113
April 20112
March 20117
January 20111
December 20103
November 20103
August 20101
July 20101
June 20104
May 20102
April 20101
March 20108
February 20101
January 20102
Full Archives

Thu, 28 Jul 2005

Amazon Wishlists in Perl
For a small play project I needed the ability to pull down all the DVDs from a given persons Amazon wishlist. After a quick look on CPAN two main options presented themselves, first up we have WWW::Amazon::Wishlist.

The module has an easy to use interface, doesn't require an Amazon developer token (it's a naughty screen-scraper) and doesn't need any XML modules. Unfortunately while it has no problems getting books I couldn't get it to download any of the DVDs from the wishlist so I moved on.

Net::Amazon on the other hand is a larger, more comprehensive and complete solution but it has one advantage. It actually does what I want it to ;) After reading some perldoc and Data::Dumpering some structures I've managed to get a list of the DVDs from my wishlist in the format I want.

I've put a copy of my DVD Amazon Wishlist retrieving code up on the site in case it's of any use to anyone else. Now I can get on with the harder bits...

Like this post? - Digg Me! | Add to del.icio.us! | reddit this!

Posted: 2005/07/28 23:09 | /tools/commandline | Permanent link to this entry | This entry and same date


books career codinghorrors events geekstuff justdont magazines meta misctech movies nottech operatingsystems/linux operatingsystems/linux/debian operatingsystems/solaris perl programming python ruby security security/apache security/tools serversmells services/dns sites sysadmin testing tools tools/commandline tools/firefox tools/gui tools/network tools/online tools/online/greasemonkey tools/puppet unixdaemon

Copyright © 2000-2010 Dean Wilson XML feed logo