Skip to main content

Scrape Amazon product data such as Product Name, Product Images, Number of Reviews, Price, Product URL, and ASIN.

Project description

amazon-scrape Python Package Version

Scrape Amazon product data such as Product Name, Product Images, Number of Reviews, Price, Product URL, and ASIN.

Requirements

Python 2.7 and later.

Setup

You can install this package by using the pip tool and installing:

$ pip install amazon-scrape

Or:

$ easy_install amazon-scrape

Scraper Help

Execute this command amazon_scraper –help in the terminal.

usage: amazon_scraper [-h] [--locale LOCALE] [--keywords KEYWORDS] [--url URL] [--api-key PROXY_API_KEY] [--pages PAGES] [-r]

optional arguments:
-h, --help            show this help message and exit
--locale LOCALE       Amazon locale (e.g., "com", "co.uk", "de", etc.)
--keywords KEYWORDS   Search keywords
--url URL             Amazon URL
--api-key       Scraper API Key
--pages PAGES         Number of pages to scrape
-r, --review          Scrape reviews

Usage Example

# Specify locale, keywords, API key, and number of pages to scrape:
amazon_scraper --locale com --keywords "laptop" --api-key "your_api_key" --pages 10

## Specify only keywords and API key (will default to "co.uk" locale and 20 pages):
amazon_scraper --keywords "iphone" --api-key "your_api_key"

## Specify a direct Amazon URL and API key (will default to "co.uk" locale and 20 pages):
amazon_scraper --url "https://www.amazon.de/s?k=iphone&crid=1OHYY6U6OGCK5&sprefix=ipho%2Caps%2C335&ref=nb_sb_noss_2" --api-key "your_api_key"

## Specify locale and Amazon URL (will default to 20 pages):
amazon_scraper --locale de --url "https://www.amazon.de/s?k=iphone&crid=1OHYY6U6OGCK5&sprefix=ipho%2Caps%2C335&ref=nb_sb_noss_2" --api-key "your_api_key"

## Specify review to scrape product(s) reviews:
amazon_scraper --keywords "watches" --api-key "your_api_key" --review

Create Scraper API Account

Sign up for a Scraper API user account.

License

This project is licensed under the MIT License.

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

amazon_scrape-1.0.9.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

amazon_scrape-1.0.9-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file amazon_scrape-1.0.9.tar.gz.

File metadata

  • Download URL: amazon_scrape-1.0.9.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for amazon_scrape-1.0.9.tar.gz
Algorithm Hash digest
SHA256 014905c42906a8c39c09751f1aa18e95f44d7d9be8977bb331fbe1f8ed325861
MD5 9acd81fd2402ffd8c9497e93975167dc
BLAKE2b-256 cf105714cf0407394f03b67420452d7ffb0fe6e543581d5cfbdd0bc0bd3185f7

See more details on using hashes here.

File details

Details for the file amazon_scrape-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: amazon_scrape-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for amazon_scrape-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 2624d8fe20b6979fad9e1e69b410a4847d16f7b24b1a427910f59cd7e4f38930
MD5 bf72ad49128fe3088bc352628ed8d6da
BLAKE2b-256 040a6ae7cadbef19a0354ebac96250e36c70abba6773cc47b7bc21272a02513e

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