Skip to main content

Scrape Amazon Reviews

Project description

scrape-amazon 🚀

Downloads Versions Stars License Visitors

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

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
0     Parth Maniar       4      Great but ...     I change ... 
1     Manpreet Singh     3      Delivers  ...     Great ph ... 
2     Aparna Uniyal      1      Battery/H ...     I have   ... 
3     Rahul              5      Great but ...     On the f ... 

CODE_OF_CONDUCT.md

Project details


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.5.tar.gz (5.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page