OSTA web scraper, for checking the status of school buses in Ottawa

Overview

OSTA-La-Vista

OSTA web scraper, for checking the status of school buses in Ottawa.

Getting Started

  1. Using a Raspberry Pi, download Python 3, and optionally, your IDE of preference.
  2. From this repository, download OSTA_La_Vista.py for the most up-to-date version of the program. temp_alarm_sound.mp3 is also needed for the alarm sound
  3. Ensure you have the required external libraries downloaded using pip3 install from the terminal. Namely, you'll need:
    • requests
    • bs4
    • gtts
    • RPi.GPIO
    • smtplib
    • tkinter
    • mpg321 (command line audio file player)
  4. Hook up green, yellow, and red LEDs to GPIO ports 18, 19, and 20, respectively.
  5. Run the Python file, and things should work as planned.
    • Recommended: see the following explanation slideshow to understand exactly what this program is capable of!

Important Note: You may think that the email password in the .py file will give you access to my entire Google account. This is an incorrect assumption:

  • This password is what's known as an "App Password", that can only be used for the sole purpose of sending emails via a script.
  • 2-Factor Authentication has been set up for this account.
  • This account is worthless anyways; it has only been set up to work as a "bus bot" emailing system.

Licence

This project is free and open-source, so long that it is not used for commercial purposes (CC BY-NC 4.0).

SOFTWARE IS PROVIDED “AS-IS”, WITHOUT A WARRANTY OF ANY KIND.

About

This project was only made as part of my high school CS class; it is by no means a comprehensive program, nor was it intended to be. If you experience issues, that's expected. This program is not yet bullet-proof!

Support

Should you run into any issues while using this program, please feel free to start an "Issues Thread" or contact me. I'm always happy to help, but you probably know more than I do :)

Features Coming in v2.0

This program is just the very beginning. I still have lots of ideas for how I want to expand this project, inlcuded, but not limited to, the following:

  • Extra support for Windows PCs
  • An enhanced alarm scheduling system
  • Added error-trapping
  • SMS alerts, in addition to emails already
  • A dedicated user support email

See my explanation slideshow for more in-depth ideas for the future.

You might also like...
This is a web scraper, using Python framework Scrapy, built to extract data  from the Deals of the Day section on Mercado Livre website.
This is a web scraper, using Python framework Scrapy, built to extract data from the Deals of the Day section on Mercado Livre website.

Deals of the Day This is a web scraper, using the Python framework Scrapy, built to extract data such as price and product name from the Deals of the

Video Games Web Scraper is a project that crawls websites and APIs and extracts video game related data from their pages.

Video Games Web Scraper Video Games Web Scraper is a project that crawls websites and APIs and extracts video game related data from their pages. This

Basic-html-scraper - A complete how to of web scraping with Python for beginners

basic-html-scraper Code from YT Video This video includes a complete how to of w

Web scraper build using python.

Web Scraper This project is made in pyhthon. It took some info. from website list then add them into data.json file. The dependencies used are: reques

Python based Web Scraper which can discover javascript files and parse them for juicy information (API keys, IP's, Hidden Paths etc)
Python based Web Scraper which can discover javascript files and parse them for juicy information (API keys, IP's, Hidden Paths etc)

Python based Web Scraper which can discover javascript files and parse them for juicy information (API keys, IP's, Hidden Paths etc).

for those who dont want to pay $10/month for high school game footage with ads

nfhs-scraper Disclaimer: I am in no way responsible for what you choose to do with this script and guide. I do not endorse avoiding paywalls or any il

API which uses discord to scrape NameMC searches/droptime/dropping status of minecraft names

NameMC Scrape API This is an api to scrape NameMC using message previews generated by discord. NameMC makes it a pain to scrape their website, but som

Scraping script for stats on covid19 pandemic status in Chiba prefecture, Japan

About 千葉県の地域別の詳細感染者統計(Excelファイル) をCSVに変換し、かつ地域別の日時感染者集計値を出力するスクリプトです。 Requirement POSIX互換なシェル, e.g. GNU Bash (1) curl (1) python = 3.8 pandas = 1.1.

A universal package of scraper scripts for humans
A universal package of scraper scripts for humans

Scrapera is a completely Chromedriver free package that provides access to a variety of scraper scripts for most commonly used machine learning and data science domains.

Owner
null
A Smart, Automatic, Fast and Lightweight Web Scraper for Python

AutoScraper: A Smart, Automatic, Fast and Lightweight Web Scraper for Python This project is made for automatic web scraping to make scraping easy. It

Mika 4.8k Jan 4, 2023
A web scraper that exports your entire WhatsApp chat history.

WhatSoup ?? A web scraper that exports your entire WhatsApp chat history. Table of Contents Overview Demo Prerequisites Instructions Frequen

Eddy Harrington 87 Jan 6, 2023
A Web Scraper built with beautiful soup, that fetches udemy course information. Get udemy course information and convert it to json, csv or xml file

Udemy Scraper A Web Scraper built with beautiful soup, that fetches udemy course information. Installation Virtual Environment Firstly, it is recommen

Aditya Gupta 15 May 17, 2022
A simple python web scraper.

Dissec A simple python web scraper. It gets a website and its contents and parses them with the help of bs4. Installation To install the requirements,

null 11 May 6, 2022
Web scraper for Zillow

Zillow-Scraper Instructions All terminal commands are highlighted. Make sure you first have python 3 installed. You can check this by running "python

Ali Rastegar 1 Nov 23, 2021
A Python web scraper to scrape latest posts from official Coinbase's Blog.

Coinbase Blog Scraper A Python web scraper to scrape latest posts from official Coinbase's Blog. IDEA It scrapes up latest blog posts from https://blo

Lucas Villela 3 Feb 18, 2022
A web Scraper for CSrankings.com that scrapes University and Faculty list for a particular country

A web Scraper for CSrankings.com that scrapes University and Faculty list for a particular country To run the file: Open terminal

null 2 Jun 6, 2022
A Simple Web Scraper made to Extract Download Links from Todaytvseries2.com

TDTV2-Direct Version 1.00.1 • A Simple Web Scraper made to Extract Download Links from Todaytvseries2.com :) How to Works?? install all dependancies v

Danushka-Madushan 1 Nov 28, 2021
Web and PDF Scraper Refactoring

Web and PDF Scraper Refactoring This repository contains the example code of the Web and PDF scraper code roast. Here are the links to the videos: Par

null 18 Dec 31, 2022
A web scraper for nomadlist.com, made to avoid website restrictions.

Gypsylist gypsylist.py is a web scraper for nomadlist.com, made to avoid website restrictions. nomadlist.com is a website with a lot of information fo

Alessio Greggi 5 Nov 24, 2022