AmazonScraper
Installation
pip install azs
OR
clone this repository and
pip install -r requirements.txt
python setup.py install
Usage
Initialization with requests
from azs import AmazonScraper
scraper = AmazonScraper()
Initialization with undetected-chromedriver
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
from selenium.webdriver.chrome.options import Options
from selenium import webdriver
options = Options()
options.add_argument('--headless')
options.add_argument('--disable-gpu')
driver =webdriver.Chrome(executable_path='D:\\chromedriver.exe', options=options)
scraper = AmazonScraper(driver=driver)
Get a product
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
"""
Metadata
Release files for azs 1.0.5
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 | Actions |
|---|---|---|---|---|
| azs-1.0.5.tar.gz | 2.7 kB | Without provenance | Details for azs-1.0.5.tar.gz |
Release files / azs-1.0.5.tar.gz
| Download URL | azs-1.0.5.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac0fc12562b43cbd65131d8732994e4a9935aa4fff9721d6123de65afe58937c
|
|
BLAKE2b-256 checksum How to use checksums |
464dcb924fdc85231fb1d619eaf30e7ab7d17e423bd91fd6f9a5237a7a669135
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|
Security for azs 1.0.5
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.