Giter VIP home page Giter VIP logo

bbdc-simulator-bot's Introduction

BBDC TPDS Bot (Deprecated)

By Jonathan Ngien

Description

Background:

In order to obtain a driving license in Singapore, one would have to complete a driving simulator course, comprising of 3 seperate sessions, in order to be qualified to take the practical exam. However, due to an overwhelming surge in competitiveness in searching for Traffic Police Driving Simulator (TPDS) Slots at Bukit Batok Driving Centre (BBDC), in addition to the fact that students are only able to book a slot after they had attended their current lesson, it takes an average of 6-8 months for a student to finish their simulator lessons.

This situation is aggravated due to the COVID-19 restrictions (as of 2021) as proper safe distancing measurers are in place. As of April 2021, the earliest slot is in July 2021 (3 months of waiting time).

As a result of waiting 6 - 9 months to finish their TPDS course, students will have to continually take up more driving lessons during this time to ensure they remain proficient and prepared for their practical driving test. As for students who want to search for slots manually, which the bot aims to overcome, they spend hours and hours of their time in search for an earlier slot.

Solution

Fortunately, students are able to cancel their slots should they be unable to make it for a class. As a result, if one were to constantly refresh the page, they would eventually manage to find a slot that has been cancelled, days or even weeks earlier than the ones readily available.

Code

  • Implemented the Selenium Framework together with Python to navigate HTML pages
  • Included Telegram's API that sends a notification to user's Telegram account informing them when a slot has been found or if the program has stopped running.

bbdc-simulator-bot's People

Contributors

jonzyyyy avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.