Note: This project has been discontinued due to changes to Instagram's policies and APIs
A Fully Automated Instagram Bot
Follow @perennialquotes on Instagram to see the bot in action!
- This project is a Proof-of-Concept
- Scrapes Quote of The Day from the Web
- Generates an Image with the Scraped Qutoe
- Retrieves 30 Random Hashtags from a CSV File
- Posts the completed Image and Caption on my Profile
- Sets Up Combin for Automated Instagram Interactions
- Quote of The Day
- [beautifulsoup4 / request / urllib] to scrape quote
- [textwrap] to fit the quote onto the image
- Generated JPG Image
- [pillow] to create the image and align everything
- Random Hashtags in Caption
- [pandas] to convert csv file of related hashtags into a dataframe
- use pandas' sampling to retrieve 30 random hashtags with the specified categories
- Posting on Instagram
- [selenium / chromedriver] to emulate a mobile phone and access instagram's mobile site, which allows photo posting
- Automated Instagram Interactions (Fairly hard to do on my own)
- [pyautogui] to interact with the limited trial software "combin" that does all the hardwork
- that software is able to like, follow and comment on posts and other advaced search features
- [tkinter] to set up a popup countdown timer after all the searches have finished and ready for interaction
- Runs Daily
- [windows task scheduler] to run the script daily
- The numbers at the end of the captions indicate the date/time posted and the website the quote was scraped from