A Marathi twitter bot that retweets and favorites some other popular tweets based on hashtag #️⃣, location, and user. It also tweets certain information every day, such as latest news 📰, a quote and some events which took place on this day some years ago.
The bot scraps the web to get the information, and utilizes BeautifulSoup to read the information properly. It using shcedule to run all these operations for periodically 🕐 at pre-determined intervals.
Online running at [https://twitter.com/botmarathi]
This BotMarathi created using help of article published at here and deployed on heruko.
git clone https://github.com/vinodnimbalkar/BotMarathi.git
cd BotMarathi
pip install -r requirements.txt
- Create a new Twitter Application. This is where you'll generate your keys 🔑, tokens, and secrets.
- Fill in your keys, tokens, and secrets in the creaditials.py file.
- Check comments in MarathiBot.py to change this bot to as per your convenience.
python MarathiBot.py
Feel free to open an issue (or even better, send a Pull Request) for expanding this list. Contributions are very welcome!! 😄