Skip to content

Personal project. Find correction slots across the 42 network, using selenium in python for webscraping, and be notified.

Notifications You must be signed in to change notification settings

artygo8/FindSlots-42

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42-slot-finder

Bot that verifies if correction slots are to be found on a specific 42 school project.

Usage

Set environment

make env

Launch

make

Once launched, you will get the instructions.

Explained

This program uses selenium to launch a Firefox browser.

It will then refresh the page to find correction slots every 42 seconds and notify with a sound and eventually email when there is an available slot on the page.

It also shows progress in the terminal like so : .....!. where . means that there are no available slots and ! means the bot found a slot on the page.

Screenshot

screenshot

Current requirements

  • python selenium # main part, actual bot
  • python time # waiting
  • python chime # for the sound notifications
  • python signal # for proper interruption handling
  • python dotenv # to keep track of email credentials in .env
  • Firefox # browser used by the bot
  • geckodriver # needed by Selenium

About

Personal project. Find correction slots across the 42 network, using selenium in python for webscraping, and be notified.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published