Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/artainmo/42-slot-finder

Personal project. Find correction slots across the 42 network using selenium in python for webscraping, and be notified.
https://github.com/artainmo/42-slot-finder

42school personal-project python selenium web-scraping

Last synced: 19 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](.other/ScreenShot.png)

## 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`