1
0
Fork 0
mirror of synced 2026-12-06 18:52:25 +00:00
No description
  • Python 96.6%
  • Dockerfile 3.4%
Find a file
2023-06-20 16:30:49 -04:00
.github feat: tooling 2023-06-16 18:02:00 -04:00
amzscoutscrape partially-cooked support for dedicated, better handling, & prelim support for other browsers 2023-06-20 16:30:49 -04:00
docs feat: tooling 2023-06-16 18:02:00 -04:00
tests feat: tooling 2023-06-16 18:02:00 -04:00
.dockerignore feat: tooling 2023-06-16 18:02:00 -04:00
.editorconfig feat: tooling 2023-06-16 18:02:00 -04:00
.gitignore durr 2023-06-18 10:46:25 -04:00
.pre-commit-config.yaml feat: tooling 2023-06-16 18:02:00 -04:00
.scrutinizer.yml feat: tooling 2023-06-16 18:02:00 -04:00
CHANGELOG.md feat: tooling 2023-06-16 18:02:00 -04:00
CITATION.cff fix extension loading 2023-06-18 00:13:51 -04:00
CONTRIBUTING.md feat: tooling 2023-06-16 18:02:00 -04:00
docker-compose.yml proper proxy support, proxy conf, & general safety 2023-06-19 10:01:44 -04:00
Dockerfile feat: tooling 2023-06-16 18:02:00 -04:00
LICENSE.txt feat: tooling 2023-06-16 18:02:00 -04:00
poetry.lock feat: initial working version 2023-06-17 15:23:50 -04:00
proxy.env-example proper proxy support, proxy conf, & general safety 2023-06-19 10:01:44 -04:00
pyproject.toml partially-cooked support for dedicated, better handling, & prelim support for other browsers 2023-06-20 16:30:49 -04:00
README.md portability 2023-06-19 17:02:29 -04:00
readthedocs.yml feat: tooling 2023-06-16 18:02:00 -04:00
SECURITY.md feat: tooling 2023-06-16 18:02:00 -04:00
tox.ini feat: tooling 2023-06-16 18:02:00 -04:00

Amzscout-scrape

Version status License Python version compatibility Version on Docker Hub Version on GitHub Version on PyPi Version on Conda-Forge Documentation status Build (GitHub Actions) Build (Travis) Build (Azure) Build (Scrutinizer) Test coverage (coveralls) Test coverage (codecov) Test coverage (Scrutinizer) Maintainability (Code Climate) CodeFactor Code Quality (Scrutinizer) Created with Tyrannosaurus

Generate a dataset ready for data science from AMZScout without paying a dime.

And it’s further described in this paragraph. See the docs 📚 for more info.

About

This uses undetected chromedriver and the AMZScout extension njopapoodmifmcogpingplfphojnfeea to extract information from Amazon product pages.

Using

Dependencies

Chrome or Chromium

Windows

winget install --id Google.Chrome

Ubuntu & Debian

sudo apt-get install chromium-browser

MacOS & Other

Download here like anywhere else

chromedriver

Make sure you install chromedriver on your system alongside a recent version of Chrome or Chromium.

brew (macOS only)

brew install chromedriver

Scoop (Windows)

Note: scoop only has chromedriver for win32 platforms. If you're on a 64-bit system, your mileage may vary.

scoop install chromedriver

Other platforms

Refer to https://sites.google.com/chromium.org/driver/downloads?authuser=0 for instructions downloading chromedriver on your respective system.

poetry

With a good version of Python installed, run the following:

pip install pipx
pipx install poetry

If you get a memo about it not being on your path, Google will be your best friend.

Installation

git clone https://github.com/regulad/amzscout-scrape.git
cd amzscout-scrape
poetry install

Usage

Usage is about as simple as it gets.

poetry run amzscout-scrape --help

It will keep you updated, although it will take a hot minute.

Once it's done, you'll have a CSV file in the current directory.

Proxy

Included is a simple Tailscale configuration that serves a SOCKS5 proxy on your local machine.

Copy the contents of proxy.env-example into .env, populate the fields and then perform the following command on a machine that has docker installed:

docker-compose up -d

Then, you can use the --proxy flag to use the proxy.

poetry run amzscout-scrape --proxy socks5://localhost:1055

Appendix

Licensed under the terms of the Apache License 2.0. New issues and pull requests are welcome. Please refer to the contributing guide and security policy. Generated with Tyrannosaurus.