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.

Python web scrapper

Website scrapper Web scrapping project in Python. Created for learning purposes. Start Install python Update configuration with websites Launch script

Nogueira Vitor 1 Dec 19, 2021
A web service for scanning media hosted by a Matrix media repository

Matrix Content Scanner A web service for scanning media hosted by a Matrix media repository Installation TODO Development In a virtual environment wit

Brendan Abolivier 5 Dec 01, 2022
Minecraft Item Scraper

Minecraft Item Scraper To run, first ensure you have the BeautifulSoup module: pip install bs4 Then run, python minecraft_items.py folder-to-save-ima

Jaedan Calder 1 Dec 29, 2021
12306抢票脚本

12306抢票脚本

罐子里的茶 457 Jan 05, 2023
A distributed crawler for weibo, building with celery and requests.

A distributed crawler for weibo, building with celery and requests.

SpiderClub 4.8k Jan 03, 2023
A Pixiv web crawler module

Pixiv-spider A Pixiv spider module WARNING It's an unfinished work, browsing the code carefully before using it. Features 0004 - Readme.md updated, co

Uzuki 1 Nov 14, 2021
Jobinja.ir jobs scraper.

Jobinja.ir Dataset Introduction This project is a simple web scraper that scraps pages of jobinja.ir concurrently and writes and update (if file gets

Iman Kermani 3 Apr 15, 2022
Proxy scraper. Format: IP | PORT | COUNTRY | TYPE

proxy scraper 🔎 Installation: git clone https://github.com/ebankoff/proxy_scraper Required pip libraries (pip install library name): lxml beautifulso

Eban'ko 19 Dec 07, 2022
Google Developer Profile Badge Scraper

Google Developer Profile Badge Scraper GDev Profile Badge Scraper is a Google Developer Profile Web Scraper which scrapes for specific badges in a use

Siddhant Lad 7 Jan 10, 2022
A Happy and lightweight Python Package that searches Google News RSS Feed and returns a usable JSON response and scrap complete article - No need to write scrappers for articles fetching anymore

GNews 🚩 A Happy and lightweight Python Package that searches Google News RSS Feed and returns a usable JSON response 🚩 As well as you can fetch full

Muhammad Abdullah 273 Dec 31, 2022
基于Github Action的定时HITsz疫情上报脚本,开箱即用

HITsz Daily Report 基于 GitHub Actions 的「HITsz 疫情系统」访问入口 定时自动上报脚本,开箱即用。 感谢 @JellyBeanXiewh 提供原始脚本和 idea。 感谢 @bugstop 对脚本进行重构并新增 Easy Connect 校内代理访问。

Ter 56 Nov 27, 2022
A Powerful Spider(Web Crawler) System in Python.

pyspider A Powerful Spider(Web Crawler) System in Python. Write script in Python Powerful WebUI with script editor, task monitor, project manager and

Roy Binux 15.7k Jan 04, 2023
Instagram profile scrapper with python

IG Profile Scrapper Instagram profile Scrapper Just type the username, and boo! :D Instalation clone this repo to your computer git clone https://gith

its Galih 6 Nov 07, 2022
Semplice scraper realizzato in Python tramite la libreria BeautifulSoup

Semplice scraper realizzato in Python tramite la libreria BeautifulSoup

2 Nov 22, 2021
HappyScrapper - Google news web scrapper with python

HappyScrapper ~ Google news web scrapper INSTALLATION ♦ Clone the repository ♦ O

Jhon Aguiar 0 Nov 07, 2022
Scraping Thailand COVID-19 data from the DDC's tableau dashboard

Scraping COVID-19 data from DDC Dashboard Scraping Thailand COVID-19 data from the DDC's tableau dashboard. Data is updated at 07:30 and 08:00 daily.

Noppakorn Jiravaranun 5 Jan 04, 2022
Python Web Scrapper Project

Web Scrapper Projeto desenvolvido em python, sobre tudo com Selenium, BeautifulSoup e Pandas é um web scrapper que puxa uma tabela com as principais e

Jordan Ítalo Amaral 2 Jan 04, 2022
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
Google Developer Profile Badge Scraper

Google Developer Profile Badge Scraper It is a Google Developer Profile Web Scraper which scrapes for specific badges in a user's Google Developer Pro

Hemant Sachdeva 2 Feb 22, 2022
此脚本为 python 脚本,实现原理为利用 selenium 定位相关元素,再配合点击事件完成浏览器的自动化.

此脚本为 python 脚本,实现原理为利用 selenium 定位相关元素,再配合点击事件完成浏览器的自动化.

N0el4kLs 5 Nov 19, 2021