amazon-scraper-python icon indicating copy to clipboard operation
amazon-scraper-python copied to clipboard

Adding the price

Open omar16100 opened this issue 7 years ago • 4 comments

Hi @tducret, it would be nice to have the price as well

omar16100 avatar Jul 05 '18 08:07 omar16100

Hi @omar16100 , I'll have a look and I'll try to add a feature that shows the price

Bolzano-Weierstrass avatar Aug 03 '18 14:08 Bolzano-Weierstrass

any ideas about this? I tried with various user agents and css selectors and it worked with some combos but not consistently for all searches. I was thinking maybe just visit each product page in the results and scrape the price from there if it is easier or scrape an external site like camelcamelcamel (unfortunately they won't ever release an API).

candidia avatar Jan 13 '19 23:01 candidia

@CSFlorin Getting prices properly is hard. There a many kind of prices and it is difficult to pick one (for a book : hardcover, kindle, used...) Visiting each product page seems a fair option, but it will take much longer to scrape. It's worth trying anyway. There are many interesting things inside (other pictures, description, reviews...).

tducret avatar Jan 14 '19 06:01 tducret

I think I addressed this! https://github.com/tducret/amazon-scraper-python/pull/19

candidia avatar Jan 18 '19 19:01 candidia