Telegram bot that search for the classrooms status of the chosen day and then return all the free classrooms using your preferred time slot

Overview

Aule Libere Polimi

Since the PoliMi site no longer allows people to search for free classrooms this bot was necessary! It simply search for the classroom status on the chosen day and then find the free classroom using your preferred time slot. You can add it on telegram with this link

Start Search Day

Set Up Your Personal Bot

Dependencies

If you have pipenv installed you could simply run the command: pipenv install and then pipenv shell  to enter in the enviroment, otherwise you will have to install manually all the packages:

beautifulsoup4
requests
python-telegram-bot
python-dotenv

with the command : pip install <package>

Config

Now you simply have to create a .env file and insert the token of your telegram bot saved as:

TOKEN=YOURTOKEN

Disclaimer

This bot will work as long as the PoliMi website keeps the same layout

You might also like...
Telegram Bot to check covid vaccine slot availability on CoWin site
Telegram Bot to check covid vaccine slot availability on CoWin site

Cowin Assist Telegram Bot Check the bot here @cowinassistbot. This is a simple Telegram bot to Check slots availability Get an alert when slots become

Simple Telegram bot to confess to your crush this Valentine's Day

Simple Telegram bot to confess to your crush this Valentine's Day! Steps pip install python-telegram-bot Register a Telegram bot & get the token by fo

Open Source Discord bot with many cool features like Weather, Balance, Avatar, User, Server, RP-commands, Gif search, YouTube search, VK post search etc.

Сокобот Дискорд бот с открытым исходным кодом. Содержит в себе экономику, полезные команды (!аватар, !юзер, !сервер и тд.), рп-команды (!обнять, !глад

GitGram Bot. Bot Then Message You Your Repo Starts, Forks, And Many More

Yet Another GitAlertBot Inspired From Dev-v2's GitGram Run Bot: Local Host Git Clone Repo : For Telethon Version : git clone https://github.com/TeamAl

Web-music-bot - A telegram bot which get a *site Url* and sends all songs contain in the Url to telegram

web music bot this is a telegram bot which get a site Url and sends all songs co

Check your bot status automatically using userbot, simply and easy

Status Checker Userbot check your bot status automatically using userbot, simply and easy. Mandatory Vars API_ID : Telegram API_ID, get it from my.tel

A reddit.com bot that will return reference links from official python documentation site for the standard library.

Python Docs Bot A reddit.com bot that will return documentation links for the library and language reference sections of the python docs website. The

A script to automatically update bot status at GitHub as well as in Telegram channel.

Support BotStatus ~ A simple & short repository to show your bot's status in your GitHub README.md file as well as in you channel. ⚠️ This repo should

Comments
  • Feature: add to room search 'free until' to improve UX

    Feature: add to room search 'free until' to improve UX

    Thought this could be a nice and simple addiction to display when searching for a room. It gives more details and can be a crucial factor when choosing between different free rooms.

    Could not sleep so decided to give this a shot.

    Also suggestions if this PR is accepted: default search currently takes in consideration a range of 2 hours when searching for rooms, but having an 'until' timestamp can extend the search for smaller time frames if someone just needs a place to stay for only a little amount of time

    Anyways, found this bot really useful and I'm willing to contribute more if needed :)

    opened by davidemerli 3
  • Added

    Added "power outlets in the room" feature

    I added this feature that displays a little plug emoji next to the rooms that have power outlets. My first approach was to make a request for each room and check in the html of the expanded view of the single room, but this approach ended up slowing the bot too much. This solution instead adds a little json file with the "id_aula" numbers of the rooms that have power outlets, conveniently generated by a little script I added. As I wrote there since we don't change power outlets every day you can just run this script every once and a while and will be fine.

    • Thx to @lorenzocavallero for the idea
    opened by frbuccoliero 1
  • Updated power outlet infos

    Updated power outlet infos

    Hi, I run the powerFileGen.py script, and it looks like 2 rooms now have power outlets and one doesn't anymore. The JSON file is then updated consequently.

    opened by frbuccoliero 0
Owner
Daniele Ferrazzo
Computer Science and Engineering student @ PoliMi
Daniele Ferrazzo
This bot is created by AJTimePyro and It accepts direct downloading url & then return file as telegram file.

URL Uploader Bot This is the source code of URL Uploader Bot. And the developer of this bot is AJTimePyro, His Telegram Channel & Group. You can use t

Abhijeet 23 Nov 13, 2022
A telegram bot that sends a meme a day, from reddit's top meme of the day

MemeBot A telegram bot that sends a meme a day, from reddit's top meme of the day You can use the bot either with an external scheduler (ex: pythonany

Michele Vitulli 1 Dec 13, 2021
Easy & powerful bot to check if your all Telegram bots are working or not. This bot status bot updates every 45 minutes & runs for 24x7 hours.

PowerfulBotStatus-IDN-C-X Easy & powerful bot to check if your all Telegram bots are working or not. This bot status bot updates every 45 minutes & ru

IDNCoderX 5 Oct 6, 2022
Davide Gallitelli 3 Dec 21, 2021
Automatically compile an AWS Service Control Policy that ONLY allows AWS services that are compliant with your preferred compliance frameworks.

aws-allowlister Automatically compile an AWS Service Control Policy that ONLY allows AWS services that are compliant with your preferred compliance fr

Salesforce 189 Dec 8, 2022
A GUI Application that creates a Spotify Playlist from any year in the past, by just entering your preferred date

A GUI Application that creates a Spotify Playlist from any year in the past, by just entering your preferred date

David .K. Danso 1 Jan 17, 2022
Discord bot that displays Jazz Jackrabbit 2 server status, current gamemode as "Playing.." status

JJ2-server-status-discord-bot Discord bot that displays Jazz Jackrabbit 2 server status, current gamemode as "Playing.." status How to setup: 0. Downl

null 2 Dec 9, 2021
A telegram bot which can show you the status of telegram bot

BotStatus-Ts-Bot An open source telegram Bot Status bot For demo you can check here The status is updated in every 1 hour About Bot This is a Bot stat

Ts_Bots 8 Nov 17, 2022
A Telegram Bot to return Youtube Video Tags Using YoutubeTags API

YouTube-TagFind-Bot A Telegram Bot to return Youtube Video Tags Using YoutubeTags API YoutubeTags API Wrapper YoutubeTags is a python third-party api

Nuhman Pk 9 Aug 25, 2022
a discord bot for searching your movies, and bot return movie url for you :)

IMDb Discord Bot how to run this bot. the first step you must create prefixes.json file the second step you must create a virtualenv if you use window

Mehdi Radfar 6 Dec 20, 2022