/hows-my-driving-dc

twitter bot for looking up traffic & parking violations in dc

Primary LanguagePythonMIT LicenseMIT

Hows My Driving DC Twitter Bot

Uses pupeteer(for interacting with the DMV form) and tesseract.js(for solving the captcha) on lambda.

This is the form used: https://prodpci.etimspayments.com/pbw/include/dc_parking/input.jsp

Deploy

npm i -g serverless
npm i
sls deploy

Bootstraped from https://github.com/sambaiz/puppeteer-lambda-starter-kit

Press

Archiver

There's a script for archiving the bot's history to a sqlite db. run it like this:

sls invoke local  -f archive

I've even checked in the sqlite db for other to peruse: https://github.com/dschep/hows-my-driving-dc/blob/master/archive.db

Screenshot

Backstory?

Curious how @howsmydrivingdc came to be? Here's a short story in the form of twitter screenshots.