Giter Club home page Giter Club logo

amzscout-scrape's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.