Skip to main content

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']


Developed by Sanjay Sikdar.

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

python_amazon_scraper-1.1.0.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file python_amazon_scraper-1.1.0.tar.gz.

File metadata

  • Download URL: python_amazon_scraper-1.1.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.4

File hashes

Hashes for python_amazon_scraper-1.1.0.tar.gz
Algorithm Hash digest
SHA256 1d83f55973f7502f9256918bb0981f96b93894d83382f15e44693759707ba81b
MD5 a60e40c1d2c75542328d88bb87efd4a8
BLAKE2b-256 fc1b8fafc2e3a343b2d9f701911bafe09bcd390f838c7cfde54dd66603c1e5c4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page