NOTE: will only work on fixes as I have time. This is just a small script to get a Pop I need. This is a script to scrape funko pop websites to check for item availability. It sends notification via the app "Telegram".
python pop_bot.py
This program requires you install the app "Telegram". Then you will need to create an API token. Instruction on how to do that can be found here: https://core.telegram.org/bots#6-botfather
- Obtain a telegram API token following the following steps: https://core.telegram.org/bots#6-botfather
- Obtain the channel id by sending a message from the channel you want to use and then runnign the following command.
- curl https://api.telegram.org/bot[TELEGRAM_TOKEN]/getUpdates -v
- This will give you the channel id to use in the code
- Then you can either run the included executable or running the code directly.
- Set Environement Variable -> POPENV to "dev", "stg", or "prd"
- dev sets the quantity to purchase to 1, chrome options to have '--headless' DISABLED, and DOES NOT PERFORM AUTOCHECKOUT
- stg sets the quantity to purchase to 3, chrome options to have '--headless' DISABLED, and DOES PERFORM AUTOCHECKOUT
- prd sets the quantity to purchase to 5, chrome options to have '--headless' ENABLED, and DOES PERFORM AUTOCHECKOUT
- /start - starts the search for the specific funko pops
- /stop - stops the bot from searching funko pops
- /add - takes a single parameter <url> and adds it to the search list
- /delete - tales a single parameter <url> and deleted the item if it exists in the search list
- /list - shows you the entire search list.
- /help - :)
- Fork it!
- Create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request :D
- 11/04/2018: Initial Commit
- 11/04/2018: Added support for the following stores
- Hot Topic
- Box Lunch
- Walmart
- Barnes and Noble
- GameStop
- Blizzard
- Gemini Collectibles
- Target
- 11/08/2018: Added readme, requirements and made code readable
- 04/18/2019: View Following this [Pull Request](https://github.com/LumbaJack/Funko_Pop_Watcher/pull/2)
License: Apache 2.0 License