Skip to content

Telegram Bot to get previous Mumbai University question papers from muquestionpapers.com

License

Notifications You must be signed in to change notification settings

ameykhale/MUQuestionPaperBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MUQuestionPaperBot

Telegram Bot

This is a Telegram chatbot that fetches PDFs of questions papers that have been asked by the Mumbai University.

muquestionpapers.com hosts PDFs for most if not all previously asked question papers for Engineering in Mumbai University. The bot scrapes this website and sends the PDFs to the user directly on the Telegram app using the Telgram Bot API.

Created this as a side-project to avoid opening a website and going through the steps everytime I wish to find a question paper.

The bot is hosted online on Heroku.

Getting started with Telegram Bots

Chatbots are fun, and Telegram has one of the best APIs to make one. This project uses the python-telegram-bot wrapper which provides a Python interface for the Telegram API.

Introduction to Telegram Bots

Your First Bot using python-telegram-bot

Run your own instance of MUQuestionPaperBot

  1. Create a new bot with BotFather and copy the API TOKEN

  2. Clone this repository

  3. Run pip install -U -r requirements.txt to install the dependencies

  4. Create a .env file in the bots directory with the following content:

    TOKEN = your_token_here

  5. Set DEBUG to True in telegram_bot.py

  6. Run telegram_bot.py

About

Telegram Bot to get previous Mumbai University question papers from muquestionpapers.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages