Skip to main content

Webscrape project to get Amazon products' descriptions

Project description

https://img.shields.io/pypi/v/amazon-description-scraper.svg?logo=python&logoColor=white https://github.com/ryzanbui02/amazon-description-scraper/actions/workflows/test-and-deploy.yaml/badge.svg https://codecov.io/gh/ryzanbui02/amazon-description-scraper/branch/main/graph/badge.svg

Webscrape project to get Amazon products’ descriptions.

Requirements

This library is compatible with Python >= 3.9 and requires:

  • bs4

  • fake-useragent

  • pandas

  • requests

  • selenium

Installation

Module can be installed from PyPI with:

pip install amazon-description-scraper

Brief Example

from amzsc import AmazonScraper

proxy_key = "XXXXXXXXXXX" # enter real proxy key here
client = AmazonScraper(proxy_key=proxy_key, jsonl_output_path="data/output.jsonl")
asins = ["B07WC4TDJJ"]
results = client.scrape(asins=asins, marketplace="US")
print(results)

Contributing

Contribute to this repository by forking this repository and installing in development mode with:

git clone https://github.com/<USERNAME>/amazon-description-scraper
pip install -e .[test]

You can then add your feature or commit your bug fix and then run your unit testing with:

pytest

Unit testing will automatically enforce minimum code coverage standards.

Next, to ensure your code meets minimum code styling standards, run:

pre-commit run --all-files

Finally, create a pull request from your fork and I’ll be sure to review it.

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_description_scraper-0.1.0.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

amazon_description_scraper-0.1.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file amazon_description_scraper-0.1.0.tar.gz.

File metadata

File hashes

Hashes for amazon_description_scraper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 39db4a16b1dc599eaade139537050b0ccbd7068c1b80c1864f8dd69ad40375c5
MD5 65e084ada12035d3b83aa36fcb5cf4f5
BLAKE2b-256 f1158843adba977053f034e381aa465f63ceb1beb943d64ce04b1098446e2ff6

See more details on using hashes here.

Provenance

The following attestation bundles were made for amazon_description_scraper-0.1.0.tar.gz:

Publisher: test-and-deploy.yaml on ryzanbui02/amazon-description-scraper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amazon_description_scraper-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for amazon_description_scraper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69f876a0c87c6d2a632de3586e82b98a3a8e2f74bf2b2fd71c659649a1c9dc87
MD5 1394116b2c5f8e75d596a55bad07f1fe
BLAKE2b-256 daceac19ff541044c92181e1fb349851fe706119d471b75ee5e7da374f4a7d0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for amazon_description_scraper-0.1.0-py3-none-any.whl:

Publisher: test-and-deploy.yaml on ryzanbui02/amazon-description-scraper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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