Jon Aquino's Mental Garden

Engineering beautiful software jon aquino labs | personal blog

Friday, December 10, 2004

Script to download selected Victoria bus schedules to my Pocket PC


lynx -source "http://www.busonline.ca/regions/vic/schedules/schedule_printable.cfm?p=dir.text&route=%1:0&day=1&" > "..\X30 My Documents\Buses\%1MonFriA.html"
lynx -source "http://www.busonline.ca/regions/vic/schedules/schedule_printable.cfm?p=dir.text&route=%1:1&day=1&" > "..\X30 My Documents\Buses\%1MonFriB.html"
lynx -source "http://www.busonline.ca/regions/vic/schedules/schedule_printable.cfm?p=dir.text&route=%1:0&day=6&" > "..\X30 My Documents\Buses\%1SatA.html"
lynx -source "http://www.busonline.ca/regions/vic/schedules/schedule_printable.cfm?p=dir.text&route=%1:1&day=6&" > "..\X30 My Documents\Buses\%1SatB.html"
lynx -source "http://www.busonline.ca/regions/vic/schedules/schedule_printable.cfm?p=dir.text&route=%1:0&day=7&" > "..\X30 My Documents\Buses\%1SunA.html"
lynx -source "http://www.busonline.ca/regions/vic/schedules/schedule_printable.cfm?p=dir.text&route=%1:1&day=7&" > "..\X30 My Documents\Buses\%1SunB.html"

0 Comments:

Post a Comment

<< Home