Webscrape project to get Amazon products' descriptions
Project description
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file amazon_description_scraper-0.1.0.tar.gz.
File metadata
- Download URL: amazon_description_scraper-0.1.0.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39db4a16b1dc599eaade139537050b0ccbd7068c1b80c1864f8dd69ad40375c5
|
|
| MD5 |
65e084ada12035d3b83aa36fcb5cf4f5
|
|
| BLAKE2b-256 |
f1158843adba977053f034e381aa465f63ceb1beb943d64ce04b1098446e2ff6
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
amazon_description_scraper-0.1.0.tar.gz -
Subject digest:
39db4a16b1dc599eaade139537050b0ccbd7068c1b80c1864f8dd69ad40375c5 - Sigstore transparency entry: 366830617
- Sigstore integration time:
-
Permalink:
ryzanbui02/amazon-description-scraper@8df327d04e36f1f892676d8bc0b364437a27474e -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/ryzanbui02
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test-and-deploy.yaml@8df327d04e36f1f892676d8bc0b364437a27474e -
Trigger Event:
push
-
Statement type:
File details
Details for the file amazon_description_scraper-0.1.0-py3-none-any.whl.
File metadata
- Download URL: amazon_description_scraper-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69f876a0c87c6d2a632de3586e82b98a3a8e2f74bf2b2fd71c659649a1c9dc87
|
|
| MD5 |
1394116b2c5f8e75d596a55bad07f1fe
|
|
| BLAKE2b-256 |
daceac19ff541044c92181e1fb349851fe706119d471b75ee5e7da374f4a7d0f
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
amazon_description_scraper-0.1.0-py3-none-any.whl -
Subject digest:
69f876a0c87c6d2a632de3586e82b98a3a8e2f74bf2b2fd71c659649a1c9dc87 - Sigstore transparency entry: 366830622
- Sigstore integration time:
-
Permalink:
ryzanbui02/amazon-description-scraper@8df327d04e36f1f892676d8bc0b364437a27474e -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/ryzanbui02
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test-and-deploy.yaml@8df327d04e36f1f892676d8bc0b364437a27474e -
Trigger Event:
push
-
Statement type: