Scrap Product Data from Amazon
Project description
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']
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file python_amazon_scraper-1.3.0.tar.gz
.
File metadata
- Download URL: python_amazon_scraper-1.3.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75eafc6c97121dc2008b23d0b0a219b010e12e81e620aee66ed6d0098311b17e |
|
MD5 | 644c8bd79e89294a7aa5d6ab9376693b |
|
BLAKE2b-256 | 1d3dd83a69d79d3dc8d01c9381aada11cd32437fa9af2076f3cfc24e05990485 |