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.

A fully decentralized protocol for private transactions FAST snipe BUY token on LUANCH after add LIQUIDITY

TORNADO CASH Pancakeswap Sniper BOT 2022-V1 (MAC WINDOWS ANDROID LINUX) ⭐️ A fully decentralized protocol for private and safe transactions ⭐️ AUTO DO

Crypto Trader 2 Jan 06, 2022
Whatsapp-APi Wrapper From rzawapi.my.id

Whatsapp-APi Wrapper From rzawapi.my.id

Rezza Priatna 2 Apr 19, 2022
A simple program to display current playing from Spotify app on your desktop

WallSpot A simple program to display current playing from Spotify app on your desktop How to Use: Linux: Currently Supports GNOME and KDE. If you want

Nannan 4 Feb 19, 2022
💻 Discord-Auto-Translate-Bot - If you type in the chat room, it automatically translates.

💻 Discord-Auto-Translate-Bot - If you type in the chat room, it automatically translates.

LeeSooHyung 2 Jan 20, 2022
🐍 The official Python client library for Google's discovery based APIs.

Google API Client This is the Python client library for Google's discovery based APIs. To get started, please see the docs folder. These client librar

Google APIs 6.2k Dec 31, 2022
AWS Auto Inventory allows you to quickly and easily generate inventory reports of your AWS resources.

Photo by Denny Müller on Unsplash AWS Automated Inventory ( aws-auto-inventory ) Automates creation of detailed inventories from AWS resources. Table

AWS Samples 123 Dec 26, 2022
Bot made by BLACKSTORM[BM] Contact Us - t.me/BLACKSTORM18

ᴡʜᴀᴛ ɪs ᴊᴀʀᴠɪs sᴇᴄᴜʀɪᴛʏ ʙᴏᴛ ᴊᴀʀᴠɪs ʙᴏᴛ ɪs ᴛᴇʟᴇɢʀᴀᴍ ɢʀᴏᴜᴘ ᴍᴀɴᴀɢᴇʀ ʙᴏᴛ ᴡɪᴛʜ ᴍᴀɴʏ ғᴇᴀᴛᴜʀᴇs. ᴛʜɪs ʙᴏᴛ ʜᴇʟᴘs ʏᴏᴜ ᴛᴏ ᴍᴀɴᴀɢᴇ ʏᴏᴜʀ ɢʀᴏᴜᴘs ᴇᴀsɪʟʏ. ᴏʀɪɢɪɴᴀʟʟʏ ᴀ

1 Dec 11, 2021
Davide Gallitelli 3 Dec 21, 2021
Just another Shiny and Greninja-ash killing preventor for Myuu

Myuu-Anti-Shiny-Discord-Bot Why I made it? Since, I was legit fed up of NebbyBot's lag (not criticising it), I decided to make my own but in python an

5 Nov 12, 2022
Innocent-Bot - A Discord client self-bot for destroying, nuking and causing mischief in servers

Innocent-bot A Discord client self-bot for destroying, nuking and causing mischi

†† 5 Jan 26, 2022
A Powerful, Smart And Simple Userbot In Telethon.

Owner: Masterolic 🇮🇳 BLACK LIGHTNING A Powerful, Smart And Simple Userbot In Telethon. Credits This is A Remix Bot Of Many UserBot. DARKCOBRA Friday

Masterolic 1 Nov 28, 2021
A simple economy bot for discord!

Enter all the correct values in the given configuration.json file. Make sure that BOT_TOKEN is a string value, and that OWNER_ID and GUILD_ID are integer values.

WonkyPigs 0 Aug 22, 2022
Fully Automated Omegle Chatbot

omegle-bot tutorial features fast runs in background can run multiple instances at once Requirement Run this command in cmd, terminal or PowerShell (i

6 Aug 07, 2021
discord.js nuker (50 bans a sec)

js-nuker discord.js nuker (50 bans a sec) I was to lazy to make the scraper in js, but this works too. DISCLAIMER This is tool was made for educationa

4 Sep 11, 2021
OpenSea Python Bot coded purely in Python3.

OpenSea Python Bot coded purely in Python3. It utilises everything from OpenSea API to continuously monitor NFT's. It can be used to snipe or monitor if something falls below floor value.

OpenSea Elite Sniper 20 Dec 29, 2021
Replacement for the default Dark Sky Home Assistant integration using Pirate Weather

Pirate Weather Integrations This integration is designed to replace the default Dark Sky integration in Home Assistant with a slightly modified, but f

Alexander Rey 129 Jan 06, 2023
Simple bot to receive feedback,same as livegram bot but with more features & full control over bot

Kontak Simple bot to receive feedback,same as livegram bot but with more features & full control over bot Deploy to VPS

Mahin Ahmed 2 Dec 16, 2021
Proxy server that records responses for UI testing (and other things)

Welcome to playback-proxy 👋 A proxy tool that records communication (requests, websockets) between client and server. This recording can later be use

Yurii 41 Apr 01, 2022
Tomli is a Python library for parsing TOML

Tomli A lil' TOML parser Table of Contents generated with mdformat-toc Intro Installation Usage Parse a TOML string Parse a TOML file Handle invalid T

Taneli Hukkinen 315 Jan 04, 2023
Elemeno.ai standard development kit in Python

Overview A set of glue code and utilities to make using elemeno AI platform a smooth experience Free software: Apache Software License 2.0 Installatio

Elemeno AI 3 Dec 14, 2022