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.

You might also like...
Best Buy Bot used to add products to cart for purchase.

To Install the Best Buy Bot These instructions are for Mac users only. Clone this Repo to your machine. BestBuyBot Open in VScode. Is Python installed

Grocy-create-product - A script supports the batch creation of new products in Grocy

grocy-create-product This script supports the batch creation of new products in

universal messaging & notifications api
universal messaging & notifications api

Pronounced "boat-shahft" What is botschaft? Botschaft is unified messaging & notifications appliance. Want to text yourself when a long-running task c

WILSON Cloud Respwnder is a Web Interaction Logger Sending Out Notifications with the ability to serve custom content in order to appropriately respond to client-issued requests.

WILSON Cloud Respwnder What is this? WILSON Cloud Respwnder is a Web Interaction Logger Sending Out Notifications (WILSON) with the ability to serve c

Send Informative, Concise Slack Notifications With Minimal Effort

slack-templates Send Informative, Concise Slack Notifications With Minimal Effort slack-templates Slack Integration Available Templates Usage Report t

This Discord bot is to give timely notifications to Students in the Lakehead CS 2021 Guild

Discord-Bot Goal of Project The purpose of this Discord bot is to give timely notifications to Students in the Lakehead CS 2021 Guild. How can I contr

Apprise - Push Notifications that work with just about every platform!
Apprise - Push Notifications that work with just about every platform!

ap·prise / verb To inform or tell (someone). To make one aware of something. Apprise allows you to send a notification to almost all of the most popul

A discord bot providing notifications of player activity on a minecraft server.

tos-alert A discord bot providing notifications of player activity on a minecraft server. Setup By default the app does not launch and will crash with

A self-bot for discord, written in Python, which will send you notifications to your desktop if it detects an intruder on your discord server

A self-bot for discord, written in Python, which will send you notifications to your desktop if it detects an intruder on your discord server

Owner
null
Stock Market Insights is a Dashboard that gives the 360 degree view of the particular company stock

Stock Market Insights is a Dashboard that gives the 360 degree view of the particular company stock.It extracts specific data from multiple sources like Social Media (Twitter,Reddit ,StockTwits) , News Articles and applies NLP techniques to get sentiments and insights.

Ganesh N 3 Sep 10, 2021
Python3 program to control Elgato Ring Light on your local network without Elgato's Control Center software

Elgato Light Controller I'm really happy with my Elgato Key Light from an illumination perspective. However, their control software has been glitchy f

Jeff Tarr 14 Nov 16, 2022
pokemon-colorscripts compatible for mac

Pokemon colorscripts some scripts to print out images of pokemons to terminal. Inspired by DT's colorscripts compilation Description Prints out colore

null 43 Jan 6, 2023
Moderation By Pokemon Bot (Discord)

Moderation Bot By Pokémon Bot (Discord) Official Moderation Bot for Pokemon Bot functional and based in the Discord Server, the bot is written in Pyth

Aakash Manoj Agrawal 6 Jan 4, 2022
First Party data integration solution built for marketing teams to enable audience and conversion onboarding into Google Marketing products (Google Ads, Campaign Manager, Google Analytics).

Megalista Sample integration code for onboarding offline/CRM data from BigQuery as custom audiences or offline conversions in Google Ads, Google Analy

Google 76 Dec 29, 2022
🔪 Block replies to viral tweets from users getting paid to promote useless products

This Tweet Took Off Ublock Origin filter list targeting long reply chains posted by twitter users who get paid to promote random products on viral twe

Xetera 12 Jan 14, 2022
This is a simple grabber written in Python which helps you to grab products from Willhaben.at

Willhaben Grabber This is a simple grabber written in Python which helps you to grab products from Willhaben.at General info The tool generates a sear

Ramo 0 Feb 16, 2022
A chatbot that helps you set price alerts for your amazon products.

Amazon Price Alert Bot Description A Telegram chatbot that helps you set price alerts for amazon products. The bot checks the price of your watchliste

Rittik Basu 24 Dec 29, 2022
Monitor robot of Apple Store's products, using DingTalk notification.

概述 本项目应用主要用来监测Apple Store线下直营店货源情况,主要使用Python实现。 首先感谢iPhone-Pickup-Monitor项目带来的灵感,同时有些实现也直接使用了该项目的一些代码。 本项目在iPhone-Pickup-Monitor原有功能的基础上去掉了声音通知,但添加了多

Lennon Chin 159 Dec 9, 2022
This app is providing you to track some online products' prices via GMAIL.

Price Tracking App variables and descriptions of that code is in Turkish language. but we're working on translate them into English. This app is provi

Abdullah Aslan 1 Dec 11, 2021