I created this small project out of curiosity on how to build something like the nvidia-snatcher by jef in java.
Docker image
Available via GitHub Container Registry.
Tag | Note |
---|---|
latest |
Latest nightly build |
Use docker pull ghcr.io/eckig/nvidia-snatcher-j:latest
to get image.
Customization
Environment variable | Description | Notes |
---|---|---|
LOAD_INTERVAL |
Interval | Wait time between requests (in seconds). Default: 20 |
LOAD_MAX_WAIT |
Max. wait time | The max. time (in seconds) to wait for a page to load. Default: 3x LOAD_INTERVAL |
LOAD_PARALLELISM |
Parallelism | The number of max. parallel request to send. Default: 2 |
GMAIL_USER |
GMail password | If empty, no GMail notifications |
GMAIL_PASSWORD |
GMail address | If empty, no GMail notifications |
SCRAPER_STORES |
Supported stores you want to be scraped | comma separated list of stores, e.g. nvidia_de_de, nvidia_en_us, nbb |
SCRAPER_MODELS |
Supported models you want to be scraped | comma separated list of model, e.g. 3080_fe, 3090_fe, 3070_fe |
NOTIFY_ON_CHANGE |
Notify on status changed | Default is off , only "in stock" status will trigger a notification. Set to on to get notified when the status changed. |
TIME_FROM |
Time from | If the current time is before this time no search will be performed. Default is 00:00 . |
TIME_TO |
Time to | If the current time is after this time no search will be performed. Default is 23:59:59 . |
If you have multi-factor authentication (MFA), you will need to create an app password and use this instead of your Gmail password.