Skip to content

A Python 🐍 Marathi bot that automates several actions on Twitter, such as retweet tweet.

License

Notifications You must be signed in to change notification settings

vinodnimbalkar/BotMarathi

Repository files navigation

BotMarathi

Twitter Follow

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.

What's this repository about?

Online running at [https://twitter.com/botmarathi]

This BotMarathi created using help of article published at here and deployed on heruko.

How do I run this project locally?

1. Clone the repository:

git clone https://github.com/vinodnimbalkar/BotMarathi.git

2. Change Directory: 📂

cd BotMarathi

3. Install dependency:

pip install -r requirements.txt

4. Instructions

  • 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.

5. Run on terminal: 🏃

python MarathiBot.py

6. And open Twitter in your web browser.:computer:

Contributing

Feel free to open an issue (or even better, send a Pull Request) for expanding this list. Contributions are very welcome!! 😄

Buy Me A Coffee