GithubHelp home page GithubHelp logo

steamdeck_scraper's Introduction

Steam Deck Refurbished Availability Checker

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.

Steps:

  1. 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 
    
  2. Install Python Packages:

    pip install selenium webdriver-manager pytelegrambotapi
    
  3. 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)

  4. Run script

     python steam_deck_checker.py
    
  5. 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)

steamdeck_scraper's People

Contributors

emitar avatar

Watchers

 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.