Skip to content

Twitter bot for getting amount of available Gambina from random Alko.

License

Notifications You must be signed in to change notification settings

bloomikko/GambinaBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GambinaBot

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.

Features

  • 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

What did I do/learn?

  • Python basics revise 😉
  • How bots overall work (my third one!)
  • Further web scraping with BeautifulSoup
  • Pickle file revision
  • Cron jobs

About

Twitter bot for getting amount of available Gambina from random Alko.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages