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.0.0.tar.gz (4.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: python_amazon_scraper-1.0.0.tar.gz
  • Upload date:
  • Size: 4.3 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.0.0.tar.gz
Algorithm Hash digest
SHA256 9224df297b1e33277496d86877d6a1b32f4b05a8baacd0883910100cbb9f2fdf
MD5 ae17fb5700a3ad538e854406b3549335
BLAKE2b-256 5b1c0732690db5ae3c50eef15de9d61f3844ec249b572a2de71c7699ad3f2a24

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