Sends notifications when Pokemon Center products are in stock

Overview

Pokemon Center Notifications

This is a simple bot that will send notifications when a product in PokemonCenter is in stock.

This is NOT to be used for scalping/mass purchases. This has no ability to automatically purchase products, nor does it have any other additional functionality other than notifying via email when a product is in stock.

In order to better avoid detection, adjust the timings in the config.py. In my testing, even with timing, if you do it in succession, it will trigger the bot detection. I plan to have this run once a day via a cron job on a Raspberry Pi 4 once I can get my hands on one.

Once again, for emphasis, THIS IS NOT TO BE USED FOR SCALPING!!! This also has NO ability to make automatic purchases.

TL;DR of next few paragraphs in Requirements.

Note this will only work on Linux.

The way this works is really weird since PokemonCenter's bot detection is pretty good. It first loads up the page in Firefox, maximizes it, takes a screenshot of the screen, then closes Firefox. This process has multiple sleeps in between to prevent detection as being a bot.

In order to function properly, this script must have full "control" over the system for some time, meaning nothing else interacting with any windows. This is due to this script requiring Firefox to be in the front of the screen in order to take a screenshot. This may change in the future. It must also be ran in the same directory as the main.py, or have the same working directory, as it cleans up the images using rm *.png afterwards. You technically should be able to run it anywhere, but just so no one complains this deleted their images, I'll be putting this as a requirement.

Is this kinda hacky? Yeah, it's literally a <50 LOC script excluding the imports and config file. It's small, easy to understand, and easy to edit and extend.

PRs are welcome.

Installation

This requires Tesseract, wmctrl, and Firefox.

Instructions for installing Tesseract can be found here. I personally used the Debian repository here.

wmctrl can be installed in apt via sudo apt install wmctrl. I do not know about installing these in other distros other than Debian-based ones. Feel free to update this section of the README with your process if you use another Linux distro.

There are a variety of ways to install Firefox, the easiest simply being to install it via your browser or package manager. You probably even already have it installed. The script is also easy to edit if you wish to use a different browser, but it may take a bit of tweaking.

Requirements

  • Linux
  • Firefox
  • Tesseract
  • wmctrl
  • Must have working directory be the same as the script
  • Must not be interacting with the machine while script is running
  • Must not be opening windows while script is running

PRs to reduce these requirements would be appreciated.

thumbor is an open-source photo thumbnail service by globo.com

Survey If you use thumbor, please take 1 minute and answer this survey? It's only 2 questions and one is multiple choice!!! thumbor is a smart imaging

Thumbor (by @globocom) 9.3k Dec 31, 2022
Trading bot that uses Elon Musk`s tweets to know when to buy cryptocurrency.

Elonbot Trading bot that uses Elon Musk`s tweets to know when to buy cryptocurrency. Here is how it works: Subscribes to someone's (elonmusk?) tweets

153 Dec 23, 2022
Allows you to easily share bookmarks from Raindrop.io in Telegram chats.

Allows you to easily share bookmarks from Raindrop.io in Telegram chats. As well as save links/photos/longreads from Telegram right into Raindrop.io. Join us, we have a nice 'reader mode' :)

Oleh 36 Dec 19, 2022
This package allows interactions with the BuyCoins API.

The BuyCoins Python library allows interactions with the BuyCoins API from applications written in Python.

Abdulazeez Abdulazeez Adeshina 45 May 23, 2022
Working TikTok Username Auto-Claimer/Sniper/Swapper which will autoclaim username if it´s available

TikTok-AutoClaimer Working TikTok Username Auto-Claimer/Sniper/Swapper which will autoclaim username if it´s available Usage Python 3.6 or above is re

Kevin 18 Dec 08, 2022
BSDotPy, A module to get a bombsquad player's account data.

BSDotPy BSDotPy, A module to get a bombsquad player's account data from bombsquad's servers. Badges Provided By: shields.io Acknowledgements Issues Pu

Rudransh Joshi 3 Feb 17, 2022
Source code of u/pekofy_bot from reddit.

pekofy-bot Source code of u/pekofy_bot from reddit. Get more info about the bot here: https://www.reddit.com/user/pekofy_bot/comments/krxxol/pekofy_bo

32 Dec 25, 2022
File-sharing-Bot: Telegram Bot to store Posts and Documents and it can Access by Special Links.

Bromélia HSS bromelia-hss is the second official implementation of a Diameter-based protocol application by using the Python micro framework Bromélia.

1 Dec 17, 2021
Use Node JS Keywords In Python!!!

Use Node JS Keywords In Python!!!

Sancho Godinho 1 Oct 23, 2021
GitHub action to deploy serverless functions to YandexCloud

YandexCloud serverless function deploy action Deploy new serverless function version (including function creation if it does not exist). Inputs yc_acc

Много Лосося 4 Apr 10, 2022
Cytotron - A unique discord bot like never before. Add it to your server to keep it active, motiviated, and amazing!!

Cytotron - Take your server to the next level Most of the details are in the website. Go to https://cytotron-bot.gq for more information. If that link

LeviathanProgramming 6 Jun 13, 2021
This Is Advanced Version Of Old Radio Player, An Telegram Bot to Play Radio/Music in Channel or Group Voice Chats.

Telegram Radio Player V2 An Telegram Bot to Play Radio/Music in Channel or Group Voice Chats. This is also the source code of the bot which is being u

SAF ONE 81 Dec 03, 2022
Playing around with the slack api for learning purposes

SlackBotTest Playing around with the slack api for learning purposes and getting people to contribute Reason for this Project: Bots are very versatile

1 Nov 24, 2021
This repository are used to give class about AWS

AWSTraining This repository are used to give class about AWS by Marco Antonio Pereira Linkedin: https://www.linkedin.com/in/marcoap To see the types o

Marco Antonio Pereira 6 Nov 23, 2022
Okaeri Robot: a modular bot running on python3 with anime theme and have a lot features

OKAERI ROBOT Okaeri Robot is a modular bot running on python3 with anime theme a

Dream Garden (rey) 2 Jan 19, 2022
The python SDK for Eto, the AI focused data platform for teams bringing AI models to production

Eto Labs Python SDK This is the python SDK for Eto, the AI focused data platform for teams bringing AI models to production. The python SDK makes it e

5 Apr 21, 2022
Python client for using Prefect Cloud with Saturn Cloud

prefect-saturn prefect-saturn is a Python package that makes it easy to run Prefect Cloud flows on a Dask cluster with Saturn Cloud. For a detailed tu

Saturn Cloud 15 Dec 07, 2022
Python SDK for IEX Cloud

iexfinance Python SDK for IEX Cloud. Architecture mirrors that of the IEX Cloud API (and its documentation). An easy-to-use toolkit to obtain data for

Addison Lynch 640 Jan 07, 2023
Video Stream is a telegram bot project that's allow you to play video on telegram group video chat

Video Stream is a telegram bot project that's allow you to play video on telegram group video chat 🚀 Get SESSION_NAME from below: Pyrogram ## ✨ Featu

1 Nov 10, 2021
Python client for Arista eAPI

Arista eAPI Python Library The Python library for Arista's eAPI command API implementation provides a client API work using eAPI and communicating wit

Arista Networks EOS+ 124 Nov 23, 2022