scrape-amazon


Namescrape-amazon JSON
Version 0.2.0 PyPI version JSON
download
home_pagehttp://github.com/officialpm/scrape-amazon
SummaryScrape Amazon Reviews
upload_time2022-12-22 05:04:08
maintainer
docs_urlNone
authorParth Maniar
requires_python>=3.6
licenseMIT
keywords amazon scrape reviews scraper products
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">

# scrape-amazon 🚀 

[![Downloads](https://img.shields.io/badge/dynamic/json?color=success&label=downloads&query=%24.total_downloads&url=https%3A%2F%2Fapi.pepy.tech%2Fapi%2Fv2%2Fprojects%2Fscrape-amazon&style=flat-square)](https://github.com/officialpm/scrape-amazon)
![versions](https://img.shields.io/pypi/v/scrape-amazon?label=version&style=flat-square&color=ffd05b)
![pyVersions](https://img.shields.io/pypi/pyversions/scrape-amazon?style=flat-square&color=f58b1b)
![Stars](https://img.shields.io/github/stars/officialpm/scrape-amazon?color=e6e87d)
![Forks](https://img.shields.io/github/forks/officialpm/scrape-amazon?color=3efac5)
![License](https://img.shields.io/github/license/officialpm/scrape-amazon)
![Visitors](https://visitor-badge.laobi.icu/badge?page_id=officialpm.scrape-amazon)


</div>

## Installation

```shell
❯ pip install scrape-amazon
```

## Example

### Import as module

```python
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
```shell
❯ scrape-amazon [domain] [product_id] [output_path].csv
```

#### Positional Arguments:
```shell
domain       Amazon Domain (in/com)
product_id   product id for scraping (B085BCWJV6)
output_path  output_path for saving (B085BCWJV6.csv)
```

#### Example
```shell
❯ scrape-amazon com B085BCWJV6 B085BCWJV6.csv
```

## Output

```shell
|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](https://github.com/officialpm/scrape-amazon/blob/master/CONTRIBUTING.md)

Also read the [CODE_OF_CONDUCT.md](https://github.com/officialpm/scrape-amazon/blob/master/CODE_OF_CONDUCT.md)

            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/officialpm/scrape-amazon",
    "name": "scrape-amazon",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "Amazon,Scrape,Reviews,Scraper,Products",
    "author": "Parth Maniar",
    "author_email": "officialparthmaniar@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/5f/05/5cf5821526d1109e2aabb22acb1eb1ebbb60076e11b319651a07f3647afd/scrape_amazon-0.2.0.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n\n# scrape-amazon \ud83d\ude80 \n\n[![Downloads](https://img.shields.io/badge/dynamic/json?color=success&label=downloads&query=%24.total_downloads&url=https%3A%2F%2Fapi.pepy.tech%2Fapi%2Fv2%2Fprojects%2Fscrape-amazon&style=flat-square)](https://github.com/officialpm/scrape-amazon)\n![versions](https://img.shields.io/pypi/v/scrape-amazon?label=version&style=flat-square&color=ffd05b)\n![pyVersions](https://img.shields.io/pypi/pyversions/scrape-amazon?style=flat-square&color=f58b1b)\n![Stars](https://img.shields.io/github/stars/officialpm/scrape-amazon?color=e6e87d)\n![Forks](https://img.shields.io/github/forks/officialpm/scrape-amazon?color=3efac5)\n![License](https://img.shields.io/github/license/officialpm/scrape-amazon)\n![Visitors](https://visitor-badge.laobi.icu/badge?page_id=officialpm.scrape-amazon)\n\n\n</div>\n\n## Installation\n\n```shell\n\u276f pip install scrape-amazon\n```\n\n## Example\n\n### Import as module\n\n```python\nfrom scrape_amazon import get_reviews\n\nreviews = get_reviews('com','B085BCWJV6') #returns dataframe\n#SrNo.,Reviewer,ReviewerURL,VerifiedPurchase,HelpfulCount,Rating,Title,Description,Date\n```\n\n### CLI\n\n#### How to use\n```shell\n\u276f scrape-amazon [domain] [product_id] [output_path].csv\n```\n\n#### Positional Arguments:\n```shell\ndomain       Amazon Domain (in/com)\nproduct_id   product id for scraping (B085BCWJV6)\noutput_path  output_path for saving (B085BCWJV6.csv)\n```\n\n#### Example\n```shell\n\u276f scrape-amazon com B085BCWJV6 B085BCWJV6.csv\n```\n\n## Output\n\n```shell\n|SrNo.|Reviewer      |ReviewerURL                                                             |VerifiedPurchase|HelpfulCount|Rating|Title                    |Description        |Date      |\n|:---:|:------------:|:----------------------------------------------------------------------:|:--------------:|:----------:|:----:|:-----------------------:|:-----------------:|:--------:|\n|  0  |  Miss Brea   |https://amazon.com/gp/profile/amzn1.account.AFCGYZNNVKNA4VXFGYO5YTVUUTFA|      YES       |     0      |  5   |          Great          |   I used it ...   |12/10/2022|\n|  1  |Basil Saunders|https://amazon.com/gp/profile/amzn1.account.AE3ZIBJKBIJE3V3ALSXENXCJI6TA|      YES       |     0      |  5   |     Lovely product      | It smooths my ... |12/13/2022|\n|  2  |  Jessie E.   |https://amazon.com/gp/profile/amzn1.account.AETVQOAZ4NOVB23Y6ZXZEAQDQAUQ|      YES       |     5      |  5   |     So easy to ...      |  I make cold...   |10/02/2022|\n|  3  |elizabeth todd|https://amazon.com/gp/profile/amzn1.account.AFGXB32V7ATUEWJJK2IOFU4MZGHQ|      YES       |     0      |  5   |  Amazing cocoa butter   |This Cocoa butter w|11/10/2022|\n|  4  |    PRPro     |https://amazon.com/gp/profile/amzn1.account.AEKBNIYENZ5QUXFTJZFHV2K6XG6Q|      YES       |     8      |  5   |     Great for scars     |There used to ...  |09/07/2022|\n|  5  | Megan Cooper |https://amazon.com/gp/profile/amzn1.account.AHUERNG2V5IUSQ3ZFRLPFAKGE2ZA|      YES       |     0      |  5   |    Good quality but     |The smell is extr..|10/29/2022|\n\n\n```\n## Want to contribute?\nTo get more information on contributing, go to the \n[CONTRIBUTING.md](https://github.com/officialpm/scrape-amazon/blob/master/CONTRIBUTING.md)\n\nAlso read the [CODE_OF_CONDUCT.md](https://github.com/officialpm/scrape-amazon/blob/master/CODE_OF_CONDUCT.md)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Scrape Amazon Reviews",
    "version": "0.2.0",
    "split_keywords": [
        "amazon",
        "scrape",
        "reviews",
        "scraper",
        "products"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "a1c046eac0caccf87c4313e551446baa",
                "sha256": "849c44440c5a7aa9ac130b0808f1f96ed7bc9e9d4f91e604adeb9bac67029740"
            },
            "downloads": -1,
            "filename": "scrape_amazon-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "a1c046eac0caccf87c4313e551446baa",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 6913,
            "upload_time": "2022-12-22T05:04:08",
            "upload_time_iso_8601": "2022-12-22T05:04:08.499473Z",
            "url": "https://files.pythonhosted.org/packages/5f/05/5cf5821526d1109e2aabb22acb1eb1ebbb60076e11b319651a07f3647afd/scrape_amazon-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-22 05:04:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "officialpm",
    "github_project": "scrape-amazon",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "scrape-amazon"
}
        
Elapsed time: 0.04921s