drawrowfly / amazon-product-api

Amazon Scraper. Scrape products from the amazon search result or reviews from the specific product
631 stars 181 forks source link

[Feature Request] Better handle products that have multiple variants #15

Closed vesper8 closed 3 years ago

vesper8 commented 3 years ago

If you take this product as an example https://www.amazon.co.uk/AmazonBasics-KB-10KG-cast-iron-kettlebell-10kg/dp/B076QJY2FN

You see that this is defaulting to the 10kg kettlebell since that's the product assigned to that asin, but looking at the json output from amazon-buddy it's impossible to tell that this is about the 10kg kettlebell.

It would be great if the 'related products' could also be scraped so there would be links to the other kettlebells linked on that page (different weights in this case, but this would be the same for products with size and color variants)

And also if somehow the currently selected item could be parsed.. in this case the 10kg is selected and this is marked in the form of Style Name: 10kg on that product page

drawrowfly commented 3 years ago

Will be added to the todo list