Code Monkey home page Code Monkey logo

gpu-finder's Introduction

Running:

Execute cmd command in project directory - scrapy crawl gpus

Can also be run via the runscraper.bat file in project root folder

Using:

To make the script search for additional products, add their name (search keyword) to the product list in the configuration file and the appropriate search url to the crawling url list (inside the GPUfinder\GPUfinder\spiders\gpufind.py)

Important - the bot expects the following parameters within GPUfinder/config.yaml:

  • product: ["..", ".."] - a list of products to look for. Ex: ["6700", "3070"]
  • sender_email: "" - the bot email account address that notifications will be sent from
  • receiver_email: "" - the user email for receiving notifications
  • port: 000 - the port number for connecting to the bot email account
  • password: "" - the bot email account password
  • smtp_server: "" - the bot email account smtp server
  • max_price: {} - a dictionary of max prices for all products from the first parameter. Example: {"6700" : 800, "3070":900}. Product names must be exactly the same as in the first parameter (product list). This is used to determine whether an email should be sent upon finding a product - emails are sent whenever the found product price is less or equeal to the one provided here.

Developing

For site selector testing use scrapy shell. To use, go to project folder and run cmd: scrapy shell "http://some_Url"

Dependencies:

To use the project, following modules have to be installed through pip:

Supported stores:

gpu-finder's People

Contributors

georgs-tumans avatar

Watchers

 avatar  avatar

Forkers

kashcode

gpu-finder's Issues

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.