If you are looking for a general purpose library, a scraper such as Beautiful Soup or Scrapy would work.
Specifically, Amazon a powerful API that you might want to take a look at (which works well with Scrapy), which could make the process easier. Don't forget to check whether your usage falls within Amazon's usage guidelines.