GithubHelp home page GithubHelp logo

geizhals's Introduction

Geizhals

Simple script to get notified when desired price is reached. This idea comes from the situation that geizhals.de did not send me notifications even if the target price was reached. I was too lazy to find out why so I wrote this simple script.

Usage

Run the script in the following form to get the lowest price of the product you want to have e.g. a Gigabyte GeForce RTX 2070 SUPER Windforce OC 3X 8G:

Syntax

docker run  --rm \
            -e URL=[LINK] \
            -e PRICE=[TARGET_PRICE] \
            -e SENDER=[SENDER_EMAIL] \
            -e PWD=[SENDER_EMAIL_PASSWORD] \
            -e RECEIVER=[RECEIVER_EMAIL] \
            racoon/geizhals

Example

docker run  --rm \
            -e URL="https://geizhals.de/gigabyte-geforce-rtx-2070-super-windforce-oc-3x-8g-gv-n207swf3oc-8gd-a2122943.html" \
            -e PRICE=520 \
            -e SENDER="[email protected]" \
            -e PASS="123456" \
            -e RECEIVER="[email protected]" \
            racoon/geizhals

To run this periodically, you can use crontab. Below you'll find an example crontab entry which runs the script every 30 minutes:

30 * * * * docker run --rm -e URL="https://geizhals.de/gigabyte-geforce-rtx-2070-super-windforce-oc-3x-8g-gv-n207swf3oc-8gd-a2122943.html" -e PRICE="520" -e SENDER="[email protected]" -e PASS="123456" -e RECEIVER="[email protected]" racoon/geizhals >> /home/USERNAME/geizhals/gh.log

geizhals's People

Contributors

racoon63 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.