Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/artainmo/42-slot-finder
- Owner: artainmo
- Created: 2021-02-27T15:24:55.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-08T12:54:47.000Z (29 days ago)
- Last Synced: 2025-01-08T13:54:21.811Z (29 days ago)
- Topics: 42school, personal-project, python, selenium, web-scraping
- Language: Python
- Homepage:
- Size: 268 KB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`