Metadata-Version: 2.1
Name: azs
Version: 1.0.4
Summary: Scraper for Amazon
Home-page: https://github.com/Harkame/AmaZonScraper
Author: Harkame
Classifier: Programming Language :: Python
Classifier: License :: OSI Approved
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# AmazonScraper

## Installation

``` bash

pip install azs

```

OR

clone this repository and

``` bash

pip install -r requirements.txt

python setup.py install

```

## Usage

### Initialization with requests

``` python
from azs import AmazonScraper
from requests import Session

session = Session()

scraper = AmazonScraper(session=session())

```

### Initialization with undetected-chromedriver

``` python

from azs import AmazonScraper
from selenium.webdriver.chrome.options import Options
import undetected_chromedriver.v2 as uc

options = Options()
options.add_argument('--headless')
options.add_argument('--disable-gpu')

driver = uc.Chrome(options=options)

scraper = AmazonScraper(driver=driver)

```

### Initialization with Selenium

``` python

#TODO

```

### Get a product

``` python

product = scraper.get_product("https://www.amazon.fr/gp/product/B08VH8C3WZ")
print(str(product))

"""

Title : Western Digital WD Red Plus 3.5" 4000 Go SÃ©rie ATA III
Price : 119.13 â‚¬
Evaluation : 4.6
Evaluation count : 1
Saving percentage : 10

"""
```
