Installation
❯ pip install scrape-amazon
Example
Import as module
from scrape_amazon import get_reviews
reviews = get_reviews('com','B085BCWJV6') #returns dataframe
#SrNo.,Reviewer,ReviewerURL,VerifiedPurchase,HelpfulCount,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 (B085BCWJV6)
output_path output_path for saving (B085BCWJV6.csv)
Example
❯ scrape-amazon com B085BCWJV6 B085BCWJV6.csv
Output
|SrNo.|Reviewer |ReviewerURL |VerifiedPurchase|HelpfulCount|Rating|Title |Description |Date |
|:---:|:------------:|:----------------------------------------------------------------------:|:--------------:|:----------:|:----:|:-----------------------:|:-----------------:|:--------:|
| 0 | Miss Brea |https://amazon.com/gp/profile/amzn1.account.AFCGYZNNVKNA4VXFGYO5YTVUUTFA| YES | 0 | 5 | Great | I used it ... |12/10/2022|
| 1 |Basil Saunders|https://amazon.com/gp/profile/amzn1.account.AE3ZIBJKBIJE3V3ALSXENXCJI6TA| YES | 0 | 5 | Lovely product | It smooths my ... |12/13/2022|
| 2 | Jessie E. |https://amazon.com/gp/profile/amzn1.account.AETVQOAZ4NOVB23Y6ZXZEAQDQAUQ| YES | 5 | 5 | So easy to ... | I make cold... |10/02/2022|
| 3 |elizabeth todd|https://amazon.com/gp/profile/amzn1.account.AFGXB32V7ATUEWJJK2IOFU4MZGHQ| YES | 0 | 5 | Amazing cocoa butter |This Cocoa butter w|11/10/2022|
| 4 | PRPro |https://amazon.com/gp/profile/amzn1.account.AEKBNIYENZ5QUXFTJZFHV2K6XG6Q| YES | 8 | 5 | Great for scars |There used to ... |09/07/2022|
| 5 | Megan Cooper |https://amazon.com/gp/profile/amzn1.account.AHUERNG2V5IUSQ3ZFRLPFAKGE2ZA| YES | 0 | 5 | Good quality but |The smell is extr..|10/29/2022|
Want to contribute?
To get more information on contributing, go to the CONTRIBUTING.md
Also read the CODE_OF_CONDUCT.md
Metadata
Release files for scrape-amazon 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| scrape_amazon-0.2.0.tar.gz | 6.9 kB | Without provenance | Details |
Release files / scrape_amazon-0.2.0.tar.gz
| Download URL | scrape_amazon-0.2.0.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
849c44440c5a7aa9ac130b0808f1f96ed7bc9e9d4f91e604adeb9bac67029740
|
|
BLAKE2b-256 checksum How to use checksums |
5f055cf5821526d1109e2aabb22acb1eb1ebbb60076e11b319651a07f3647afd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.15
|
Security for scrape-amazon 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.