The Daily Tanuki Bot is a Twitter bot that posts random real-life images and videos of Tanukis, otherwise known as Japanese raccoon dogs, daily.
To retrieve the media, APIs are used to scrape images and videos using keyword searches from both Google Images and Twitter. After all of the media is retrieved, a pre-trained TensorFlow VGG model is used to filter only media that is of a real-life animal. All other media is discarded. After this machine learning is done, the Twitter bot will then have a collection of media to randomly post each day.
Both actions are set up on a scheduler. The media retrieval is run monthly, and the media posting is run daily. With this setup, the bot could potentially run indefinitely and always have new, fresh media to post.
Amazon Web Services