Scrap Data from Amazon
Extract Product information from Amazon.
GitHub Repo: https://github.com/sannjayy/python_amazon_scraper
Installaion
Do the following in your virtualenv:
pip install python_amazon_scraper
Import:
from python_amazon_scraper import ExtractAmazon
Minimal Code Example:
from python_amazon_scraper import ExtractAmazon
url = 'AMAZON PRODUCT URL'
product = ExtractAmazon(url)
print("Product Title = ", product.get_title())
print("Product Price = ", product.get_price())
print("Availability = ", product.is_available())
print("Has Deal = ", product.has_deal())
print("Product Images = ", product.get_images())
DEMO OUTPUT:
Product Title = Apple iPhone 12 (64GB) - Purple
Product Price = Not Available
Availability = False
Has Deal = False
Product Images = ['https://m.media-amazon.com/images/I/31jQ91XUDhS._SY445_SX342_QL70_FMwebp_.jpg']
Metadata
Release files for python-amazon-scraper 1.3.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 | Actions |
|---|---|---|---|---|
| python_amazon_scraper-1.3.0.tar.gz | 4.4 kB | Without provenance | Details for python_amazon_scraper-1.3.0.tar.gz |
Release files / python_amazon_scraper-1.3.0.tar.gz
| Download URL | python_amazon_scraper-1.3.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75eafc6c97121dc2008b23d0b0a219b010e12e81e620aee66ed6d0098311b17e
|
|
BLAKE2b-256 checksum How to use checksums |
1d3dd83a69d79d3dc8d01c9381aada11cd32437fa9af2076f3cfc24e05990485
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Security for python-amazon-scraper 1.3.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.