From 22d1aecb11f48838e8f61122b15da82ca6df7eb7 Mon Sep 17 00:00:00 2001 From: Cormac Morris Date: Mon, 9 Nov 2015 13:48:05 +0000 Subject: Updated readme --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..808cf82 --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +Files and their uses: + +updatebusinfo.py - This will scrape the delicious HTML (tables in particular) from all the specified buses and their respective pages. + +Usage: python updatebusinfo.py - this will then populate the folder this script is located with textfiles with the scraped date. + +cleanupbusinfo.sh - This uses sed to clean up the HTML so it's a nice usable format for the main IRC script. + +Usage: ./cleanupbusinfo.sh *.txt - will clean all text files in the folder (but you can also specify specific text files if you wish) + +ircbus.py - This is the script that goes through the cleaned up text files to find appropriate times for the bus stop requested by the user. + +Usage: !bus \ No newline at end of file -- cgit v1.2.3