This project is used to send a screenshot by email of your MyUMons schedule using Selenium python lib (headless mode)

Overview

MyUMonsSchedule

Use MyUMonsSchedule python script to send a screenshot by email (Gmail) of your MyUMons schedule.

If you use it on Windows, take care to download geckodriver (and add it to PATH*) : https://github.com/mozilla/geckodriver/releases

  1. You must modify the script to CHANGE the global vars.
  2. DON'T FORGET to change your Gmail/Google config. There are only 2 easy steps to do.
  3. You are prompted for your Gmail password while running the script.

* Just run it in the MyUMonsSchedule folder. You can close the window right after. (Version not already tested on Linux distributions)

In the next versions

  1. Cron ?
  2. Directly download ICS file and add it to google calendar ?
You might also like...
A python bot using the Selenium library to auto-buy specified sneakers on the nike.com website.

Sneaker-Bot-UK A python bot using the Selenium library to auto-buy specified sneakers on the nike.com website. This bot is still in development and is

A simple script to login into twitter using Selenium in python.

Quick Talk A simple script to login into twitter using Selenium in python. I was looking for a way to login into twitter using Selenium in python. Sin

A web scraping using Selenium Webdriver
A web scraping using Selenium Webdriver

Savee - Images Downloader Project using Selenium Webdriver to download images from someone's profile on https:www.savee.it website. Usage The project

FaceBot is a script to automatically create a facebook account using the selenium and chromedriver modules.

FaceBot is a script to automatically create a facebook account using the selenium and chromedriver modules. That way, we don't need to input full name, email and password and date of birth. All will be helped by this FaceBot.

Selenium-python but lighter: Helium is the best Python library for web automation.
Selenium-python but lighter: Helium is the best Python library for web automation.

Selenium-python but lighter: Helium Selenium-python is great for web automation. Helium makes it easier to use. For example: Under the hood, Helium fo

This is a Python script for Github Bot which uses Selenium to Automate things.

github-follow-unfollow-bot This is a Python script for Github Bot which uses Selenium to Automate things. Pre-requisites :- Python A Github Account Re

Python package to easily work with selenium and manage tabs effectively.

Simple Selenium The aim of this package is to quickly get started with working with selenium for simple browser automation tasks. Installation Install

Fully functioning price detector built with selenium and python

Fully functioning price detector built with selenium and python

Selenium Page Object Model with Python

Page-object-model (POM) is a pattern that you can apply it to develop efficient automation framework.

Comments
  • Added a setup wizard and stores email & password for easier login

    Added a setup wizard and stores email & password for easier login

    Added the setup.py wizard : Run setup.py using Python3 in order to input your matricule, password, and locally store a hashed version of your password (can be modified to also store the email, or store the hashed password in a database for security purposes). This allows for a new update in the MUSchedule-x.py files, making it more user-friendly.

    Setup steps :

    1. The user runs the setup ;
    2. The user inputs its email and password and confirm them ;
    3. We locally store the email and password (or store the encrypted password in a database) ;
    4. When the user runs a MUSchedule-x.py file, the script will retrieve the email from a config file and the password either from the config file or from the database, and decrypt it for use.

    Positive aspects :

    • The setup.py allows for a more user-friendly experience than asking the user to modify his email and password in the python files ;
    • Using a hash, we never store the real password.

    Negative aspects :

    • Storing the hashed password locally allows for an easier decryption and leakage (solution : store the password in a database and retrieve it from there)
    opened by Nephty 1
  • Use a config file to store umons ID and password

    Use a config file to store umons ID and password

    Using a config file should be a pretty good idea since it will be easier for the end user to set it up instead of editing the python code. And if we setup a docker version of the project it will be much much simple to use a config file external to the code.

    opened by Harbiinger 1
  • Bug fix + added encryption

    Bug fix + added encryption

    If you entered a incorrectly formatted matricule, then a correctly formatted one and confirmed, the script would ask you to confirm the incorrectly formatted one. Bug fixed.

    When the user inputs its matricule and password, the script encrypts them with the public key found in keys/public_key.pem. The encrypted matricule and password are then stored in config/login.idd. They can be retrieved by using the retrieve_login() method from the setup.py file. Encrypted matricule and password can then be decrypted using the decrypt() method from encrypt.py. Further details can be found in the setup.py file.

    opened by Nephty 0
Owner
Pierre-Louis D'Agostino
Pierre-Louis D'Agostino
A twitter bot that simply replies with a beautiful screenshot of the tweet, powered by poet.so

Poet this! Replies with a beautiful screenshot of the tweet, powered by poet.so Installation git clone https://github.com/dhravya/poet-this.git cd po

Dhravya Shah 30 Dec 4, 2022
Headless chrome/chromium automation library (unofficial port of puppeteer)

Pyppeteer Pyppeteer has moved to pyppeteer/pyppeteer Unofficial Python port of puppeteer JavaScript (headless) chrome/chromium browser automation libr

miyakogi 3.5k Dec 30, 2022
Free cleverbot without headless browser

Cleverbot Scraper Simple free cleverbot library that doesn't require running a heavy ram wasting headless web browser to actually chat with the bot, a

Matheus Fillipe 3 Sep 25, 2022
This repository contnains sample problems with test cases using Cormen-Lib

Cormen Lib Sample Problems Description This repository contnains sample problems with test cases using Cormen-Lib. These problems were made for the pu

Cormen Lib 3 Jun 30, 2022
This project demonstrates selenium's ability to extract files from a website.

This project demonstrates selenium's ability to extract files from a website. I've added the challenge of connecting over TOR. This package also includes a personal archive site built in NodeJS and Angular that allows users to filter and view downloaded files.

null 2 Jan 16, 2022
Akulaku Create NewProduct Automation using Selenium Python

Akulaku-Create-NewProduct-Automation Akulaku Create NewProduct Automation using Selenium Python Usage: 1. Install Python 3.9 2. Open CMD on Bot Folde

Rahul Joshua Damanik 1 Nov 22, 2021
Youtube Tool using selenium Python

YT-AutoLikeComment-AutoReportComment-AutoComment Youtube Tool using selenium Python Auto Comment Auto Like Comment Auto Report Comment Usage: 1. Insta

Rahul Joshua Damanik 1 Dec 13, 2021
Python Webscraping using Selenium

Web Scraping with Python and Selenium The code shows how to do web scraping using Python and Selenium. We use as data the https://sbot.org.br/localize

Luís Miguel Massih Pereira 1 Dec 1, 2021
Whatsapp messages bulk sender using Python Selenium.

Whatsapp Sender Whatsapp Sender automates sending of messages via Whatsapp Web. The tool allows you to send whatsapp messages in bulk. This program re

Yap Yee Qiang 3 Jan 23, 2022
A simple Python script I wrote that scrapes NASA's James Webb Space Telescope tracker website using Selenium and returns its current status and location.

A simple Python script I wrote that scrapes NASA's James Webb Space Telescope tracker website using Selenium and returns its current status and location.

null 9 Feb 10, 2022