The fragility of retro-engineering

I just discovered that while the CPAN module WWW::Amazon::Wishlist pulled ASINs out of amazon.co.uk-based wishlists, it seems not to be able to find ASINs in amazon.com-based ones. I guess that the HTML layout that the module is scraping has changed. Or at least the hrefs that the module is pulling the ASINs from.

While lamenting the fact that retro-fitting like this is like trying to put a wave into a box, I’ve made a second patch to the module (the $url regex) so it can successfully find ASINs in U.S. wishlists too.

I wonder when/if we will see consumable wishlist data available directly from Amazon, a la AllConsuming’s XML directory ?