Scrape Amazon Reviews
Project description
Installation
❯ pip install scrape-amazon
Example
Import as module
from scrape_amazon import get_reviews
reviews = get_reviews('in','B078BNQ318') #returns dataframe
#Reviewer, Rating, Title, Description, Date
CLI
How to use
❯ scrape-amazon [domain] [product_id] [output_path].csv
Positional Arguments:
domain Amazon Domain (in/com)
product_id product id for scraping (B078BNQ318)
output_path output_path for saving (B078BNQ318.csv)
Example
❯ scrape-amazon in B078BNQ318 B078BNQ318.csv
Output
Reviewer Rating Title Description Date
0 Parth Maniar 4 Great but ... I change ... '05/24/2021, 00:00:00'
1 Manpreet Singh 3 Delivers ... Great ph ... '05/24/2021, 00:00:00'
2 Aparna Uniyal 1 Battery/H ... I have ... '05/24/2021, 00:00:00'
3 Rahul 5 Great but ... On the f ... '05/24/2021, 00:00:00'
Want to contribute?
To get more information on contributing, go to the CONTRIBUTING.md
Also read the CODE_OF_CONDUCT.md
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
scrape_amazon-0.1.8.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for scrape_amazon-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 756ec1231c5660e9c2e592354b2ef46b2870a44b6a41d96ca598750fb5bb3ab4 |
|
MD5 | 38340f036a9d1b54ff8ad53c564278fc |
|
BLAKE2b-256 | 2840ae79566bc6b123a4a16d43310017a2e27bc167985cad3b6e3c6da41a15c2 |