kerryrm / hows-my-driving-dc

twitter bot for looking up traffic & parking violations in dc

Home Page:https://twitter.com/HowsMyDrivingDC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

twitter bot for looking up traffic & parking violations in dc

https://twitter.com/HowsMyDrivingDC

License:MIT License


Languages

Language:Python 53.3%Language:JavaScript 29.5%Language:HTML 17.2%