I couldn't find a tool that would allow me to check the availability of the Steam Deck Refurbished from the command line (CLI), so I decided to create something myself.
For this purpose, I used Python version 3.10.12.
Assuming you already have Python installed, below are the steps I took on Ubuntu 22.04 to run the script.
-
Install Chrome:
wget -nc https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb sudo apt update sudo apt install -f ./google-chrome-stable_current_amd64.deb
-
Install Python Packages:
pip install selenium webdriver-manager pytelegrambotapi
-
After downloading the code, simply substitute your Telegram bot data to receive notifications when the Steam Deck becomes available for purchase. Edit the 'expected_storage' variable if you are interested in a specific version (e.g., 64, 256, 512)
-
Run script
python steam_deck_checker.py
-
Add Script to CRON: Add the script to your CRON tasks for periodic execution. For example, to run the script every 10 minutes:
*/10 * * * * /usr/bin/python3 /path/to/steam_deck_checker.py
Feel free to customize the script according to your needs.
If you encounter any issues or have suggestions for improvements, please let me know!
(I'm not programer)