Twitter bot for getting amount of available Gambina in random Alko (the liquor distributor in Finland). For the love of "rubiininpunainen suudelma", Gambina, the famous drink. Many people have quite experiences with it. I used to be an active Twitter user and there are a lot of interesting bots, and this is my third bot as there is no love for Gambina, yet. Now there is!
Bot was running on Twitter on my Raspberry Pi, but unfortunately Alko's website started blocking web crawlers.
- Gets Gambina amount from a random store
- When getting the store, checks whether it has been used in last 48 hours (maintained by a pickle file)
- Forms a tweet with the amount of Gambina and the name of store
- Posting every hour, this also can be modified
- Python basics revise 😉
- How bots overall work (my third one!)
- Further web scraping with BeautifulSoup
- Pickle file revision
- Cron jobs