Hi idyllhands, check out
this site, which has some references to an Amazon API. Hopefully from there you can call upon their libraries in your program to avoid having to write dirtier hacks to pull the info.
Hope this helps - if you can't find anything useful on this page, do a google search for "amazon api" and see what comes up.