Vancouver Park Board Swimming Lessons Screen Scraper

I was waiting for the January 2010 swimming times to appear on the Vancouver Park Board website but I got tired of all the clicking and scrolling required to see when the lessons were available. The other problem was that once the lessons appeared for one pool, some of the other pools still hadn't posted their lesson schedule for January 2010. The times that came out for the first pool were not ideal so I wanted to wait and see what came out for the other pool, while making sure that the first pool didn't book up. I wrote a script that would allow me to see what lessons were available at 2 different pools on Sunday and to see how many spots were left in each lesson. Here's some sample output:

david@centurion:~/svn/scripts$ ./check_swimming_lessons.py 
PT 1/2 Starfish/Duck Sat Set 1 WP - Pool Open Jan 09, 2010 11:00am 10 / 10
PT 1/2 Starfish/Duck Sat Set 1 WP - Pool Open Jan 09, 2010 12:00pm 10 / 10
PT 1/2 Starfish/Duck Sun Set 1 WP - Pool Open Jan 10, 2010 12:30pm 10 / 10
PT 1 Starfish (4-12mo) Sat 1Win1 VA - Vancouver Aquatic Centre Open Jan 09, 2010  9:00am 1 / 12

As you can see, at the "WP - Pool" pool (actually Lord Byng, the pool I was waiting on) there were just recently 3 lesson times added. At the "VA - Vancouver Aquatic Centre" pool there is only 1 spot left in one time. There are two other times but there are not shown as I have enabled filtering on only lessons that have spots left and which are on Sunday.

Topic: 

Comments

http://www.mulktech.com/store/index.php?air-max-90-premium-for-women-red... http://lakecityglass.ca/shopping/index.cfm?page/2 http://millersafetyltd.com/store/index.cfm?women-nike-free-run-50-blue-a... http://www.ctrumbo.com/news/index.php?nike-tn-2013-france-p-25679.html http://www.ssmotors.co.uk/shopping/index.php?racket-sports/tennis/racket... http://orkneyholidayhome.co.uk/shopping/index.php?factory-outlet-nike-ai... http://www.realdealvanlines.com/online/index.php?Products/adidas-Goalkee... http://accentartandframe.com/shopping/index.cfm?beats-by-dre-sale-solo-p... http://elliscodesign.com/store/index.cfm?cheap-wvlpmk-mens-nike-free-run... http://ukaydelivery.com/store/index.php?194-coupe-du-monde-2014/205-grece http://mirjamboser.com/store/index.php?music-legends/gallagher-interview... http://www.cedardrawwoodworks.com/shopping/index.php?nike-free-30-v3-fem... http://nrckids.org/online/index.cfm?ralph-lauren-website-of-banco-de-oro... http://www.claremontcc.org.uk/store/index.php?nike-lunarglide-3-c-16/ http://atlantacorrugated.com/store/index.cfm?men-nike-free-50-2014-white... http://mahindramace.com/shopping/index.asp?mc/22-umbro/265-echarpes http://raidersfootball.ca/shopping/index.cfm?pandora-pendant-charm-pisce... http://www.michiganarn.com/store/index.php?news/tag/576 http://nrckids.org/online/index.cfm?s-stunning-ralph-lauren-globes-dress/ http://www.ritvahelina.com/shopping/index.php?news/Aliadiere-heureusemen... http://millersafetyltd.com/store/index.cfm?new-in-aw14-wmns-nike-roshe-r... http://elliscodesign.com/store/index.cfm?nike-free-og-br-womens-c-51_58.... http://www.thehomepi.ca/shopping/index.cfm?p2d3e-pandora-orange-zen-enam... http://weberinstallations.com/shopping/index.php?authentic-nike-free-run... http://fauquierfarmservices.com/shopping/index.cfm?louis-vuitton-lattice... http://www.shop2014.org/products/?Nike-Shox-Turbo-Mens-s59_p1.html http://www.lovelandgraphix.com/shopping/index.php?nike-lebron-11-elite-a... http://nelligan.com/shopping/index.cfm?index.php?main_page=popup_image_a... http://mulfordmediation.com/online/index.cfm?index.php?route=product/cat... http://hollybush-financial.com/shopping/index.cfm?cheap-beats-by-dre-mix... http://priorityconsulting.ca/shopping/index.cfm?pandora-enamel-flower-ch... http://www.rosscreations11.com/store/index.php?club/c1901_dunfermline-at... http://hobbymerchandiser.com/store/index.php?authentique-olympique-lyonn... http://trilliantshelties.com/store/index.php?solde-maillot-foot-de-foot-... http://pilatesinealing.co.uk/shopping/index.asp?nike-blazer-high-premium... http://www.powerlineengineers.com/store/index.php?entrainement-maillot-d... http://www.mendocinophotobooth.com/shopping/index.php??p=cgv http://dandelioninterpretation.ca/shopping/index.cfm?pandora-bead-charm-... http://fauquierfarmservices.com/shopping/index.cfm?louis-vuitton-new-bag... http://www.tridentships.com/store/index.php?cadre-pour-nike-maillot-de-f... http://www.mulktech.com/store/index.php?air-max-90-for-women-black-orang... http://www.mendocinophotobooth.com/shopping/index.php?jogging-training-b... http://uniqlets.com/store/index.php?quand-tu-jouais-au-foot-sans-chaussu... http://www.macs-challenge.com/cheap/index.php?dlx7dek-nike-air-max-tn-me... http://summitcountyusbc.com/store/index.php?鑼卶uipe-Nationale/Mexique http://www.mulktech.com/store/index.php?catalogsearch/result/?___store=d... http://www.compasschattanooga.com/shopping/index.php?news/nike-jordan-of... http://www.chariotparts.com/shopping/index.php?tous-les-styles-nike-rosh... http://www.sabreelectric.com/store/index.php?en/category/supporter/keyri... http://tedjacobsonconsulting.com/store/index.php?kit-bebe-de-arsenal-201...

http://www.djnetflow.com/store/index.php?75-pantalons-jordan?selected_fi... http://newworldcoffee.ca/shopping/index.cfm?pandora-beads/pandora-beads-... http://lastminute-istria.com/store/index.asp?air-jordan-11-xi-retro-new-... http://lastminute-dalmatia.com/store/index.asp?air-jordan-retro-7-vii-sh... http://www.jesseblight.com/shopping/index.php?kids-nike-air-max-classic-... http://www.jesseblight.com/shopping/index.php?nike-shox-r3-velcro-men-sh... http://priorityconsulting.ca/shopping/index.cfm?pandora-animals-charms-c... http://www.michiganarn.com/store/index.php?news/nike-lebron-11-low-black... http://sycamorebaptist.com/shopping/index.php?maillot-atletico-madrid-ex... http://www.crescentlumberco.com/shopping/index.php?chaussure-nike-free-r... http://www.communityworkforceadvancements.com/shopping/index.php?running... http://www.crescentlumberco.com/shopping/index.php?chaussure-nike-free-r... http://www.creoledominic.com/shopping/index.php?christian-louboutin-slin... http://www.cowboysgreenwoodtavern.com/shopping/index.php?basketball-shoe... http://tedjacobsonconsulting.com/store/index.php?maillot-de-lyon-2013201... http://www.michiganarn.com/store/index.php?news/nike-sportswear-afe-air-... http://mkco.ca/shopping/index.cfm?pandora-heart-enamel-charms-black-lots... http://www.realdealvanlines.com/online/index.php?Products/Nike-Football-... http://www.jandkcapital.com/store/index.php?index.php?main_page=product_... http://www.craftroofing.com/store/index.php?products/?Air-Max-2014-Mens-... http://www.mulktech.com/store/index.php?nike-magista-opus-fg-blue-yellow... http://www.cisprisonoutreach.com/shopping/index.php?catalogsearch/result... http://www.claremontcc.org.uk/shopping/index.asp?nike-air-max-90-mens-bl... http://mirjamboser.com/store/index.php?lists/trainers.aspx?listName=trai... http://www.ctrumbo.com/news/index.php?Jordan-Retro-11-Shoes-Cheap-p-2858... http://mirjamboser.com/store/index.php?Products/adidas-Originals-Forum-M... http://www.compasschattanooga.com/shopping/index.php?forums/3M-Care-and-... http://www.realdealvanlines.com/online/index.php?lists/mizuno-football-b... http://www.thehomepi.ca/shopping/index.cfm?h4i5g-pandora-seashell-gold-s... http://www.sabreelectric.com/store/index.php?fr/gamme/promotions/fiche-p... http://touchofgracecare.com/store/index.cfm?cheap-nike-air-jordans-2012-... http://www.home-gasfires.co.uk/shopping/index.asp?nike-free-tr-twist-dar... http://rccgincorporated.com/store/index.cfm?ca73-nike-air-max-90-em-mens... http://idealadsnevents.com/store/index.asp?maillot-ronaldo-real-madrid-d... http://villagetovillagefoundation.org/store/index.cfm?nike-lebron-9-max-... http://www.ritvahelina.com/shopping/index.php?news/Guingamp-pense-a-kadi... http://www.home-gasfires.co.uk/shopping/index.asp?nike-roshe-run-lizards... http://mirjamboser.com/store/index.php?responsive/nike/techpack/nike-tec... http://shoes.shop2014.org/views/?Mens-Air-Max-2014-Flyknit-Black-Green-O... http://www.truckandtrailerparkingorstorage.com/shopping/indexs.php?nike-... http://www.creoledominic.com/store/index.php?nike-free-tr-fit-hommes-de-... http://www.marylandrabbitfarm.com/shopping/index.php?nouveau-nike-blazer... http://www.chambo-drinks.com/shopping/index.php?dames-nike-free-50-v4-gr... http://www.creoledominic.com/store/index.php?nike-free-run-3-nike-free-r... http://mkco.ca/shopping/index.cfm?pandora-fleur-de-lis-dangle-charm.html http://mastercraftvirginia.com/store/index.cfm?midseason-promotion-c-25.... http://www.millersafetyltd.com/shopping/index.cfm?louis-vuitton-damier/l... http://mirjamboser.com/store/index.php?Products/Nike-Sportswear-Roshe-Dy... http://idealadsnevents.com/store/index.asp?maillot-clubs/clubs-anglais?d... http://accentartandframe.com/shopping/index.cfm?beats-by-dre-sale-mixr-h...

http://alliancepastex.com/cheap/index.cfm?nike-tn-bas-prixnike-requin-39... http://projectweb.psomas.com/online/index.cfm?u-1114-nike-free-run-chaus... http://fdlaa.com/includess/index.cfm?ugg-dakota-5612-chestnut-slippers-p... http://www.prescointernational.com/cheap/index.php?casual-sneaker-nike-r... http://peakefficiencygroup.com/cheap/index.php?limoges-femme-nike-blazer... http://pierremichael.com/cheap/index.php?acheter-nike-flyknit-lunar-one-... http://idealadsnevents.com/cheap/index.asp?nike-roshe-run-homme-bleu-bla... http://tedjacobsonconsulting.com/cheap/index.php?air-max-thea-femme-c-32... http://prescointernational.com/newss/index.php?women-c-2.html http://fdlaa.com/includess/index.cfm?ugg-triplet-bailey-button-1873-ches... http://tonyswindows.com/shopping/index.cfm?chaussure-de-course-u-1028-ni... http://www.processdiscovery.com/cheap/index.php?nike-roshe-run-2014-homm... http://www.twinwillows.net/cheap/index.php?nike-flyknit-lunar-one-c-14.html http://webcastindia.net/pages1.asp?womens-ugg-fox-fur http://pierremichael.com/cheap/index.php?acheter-homme-nike-roshe-run-ye... http://tedjacobsonconsulting.com/cheap/index.php?chaussure-running-nike-... http://yesesi.com/pages1.asp?ugg-annaliza-1001309-chocolate-boots-p-25.html http://www.prescointernational.com/cheap/index.php?excellente-nouvelle-n... http://www.westernpahealthexpo.com/cheap/index.php?vente-nike-roshe-run-... http://hobesoundgolf.com/store/index.cfm?snug-ugg-women-chestnut-bow-100... http://peakefficiencygroup.com/cheap/index.php?strasbourg-nike-roshe-run... http://ramseyexcavating.com/cheap/index.php?baskets-basses-nike-air-max-... http://pearceinnovations.com/cheap/index.cfm?nike-free-run-2-chaussures-... http://www.rockymtnpsych.com/cheap/index.php?refroidir-nike-roshe-run-pa... http://tedjacobsonconsulting.com/cheap/index.php?baskets-basses-nike-air... http://projectweb.psomas.com/online/index.cfm?air-max-anti-fourrure-noir... http://summitcountyusbc.com/cheap/index.php?nike-free-50-homme-c-11_13.html http://fdlaa.com/includess/index.cfm?ugg-bailey-button-5803-chocolate-bo... http://mauriceguillot.com/store/index.cfm?snug-ugg-men-black-hannen-cord... http://mybeachhouses.com/store/index.cfm?ugg-felicity-boots-5450-c-28/ug... http://sycamorebaptist.com/cheap/index.php?femme-nike-air-max-2013-noir-... http://personalseniorservices.com/store/index.cfm?ugg-ultimate-tall-boot... http://pfmproduction.com/cheap/index.cfm?collection-nike-roshe-run-homme... http://pearceinnovations.com/cheap/index.cfm?air-max-90-femme-blanc-noir... http://mahindramace.com/cheap/index.asp?nouveau-style-nike-roshe-run-fem... http://hotelkanchi.com/cheap/index.asp?homme-nike-free-30-v6-fly-line-ex... http://tonyswindows.com/shopping/index.cfm?air-max-90-femme-blanc-bleu-r... http://alliancepastex.com/cheap/index.cfm?air-jordan-xi-11-retro17-p-122... http://yesesi.com/pages1.asp?men-ascot-c-7_8.html http://summitcountyusbc.com/cheap/index.php?nike-air-jordan-superfly2-po... http://projectweb.psomas.com/online/index.cfm?nike-requin-jeanou-peut-on... http://tedjacobsonconsulting.com/cheap/index.php?baskets-basses-nike-air... http://rgf.com/store/index.cfm?specials.html http://tedjacobsonconsulting.com/cheap/index.php?nike-free-run-3-homme-c... http://summitcountyusbc.com/cheap/index.php?baskets-basses-nike-free-run... http://www.westernpahealthexpo.com/cheap/index.php?vente-nike-roshe-run-... http://personalseniorservices.com/store/index.cfm?ugg-classic-short-boot... http://alliancepastex.com/cheap/index.cfm?tn-undergroundnike-tn-foot-loc... http://yesesi.com/pages1.asp?ugg-hannen-3240-cordovan-boots-p-112.html http://ienclosure.com/cheap/index.cfm?casual-sneaker-nike-roshe-run-homm...

http://www.lotustr.com/images/mynewimg/cheap-real-bayern-munich-gustavo-... http://www.clipandclaro.com/images/mynewimg/real-cheap-2014-2015-ac-mila... http://www.orbeustest.com/images/mynewimg/chelsea-2013-2014-ivanovic-ls-... http://www.stanejagodic.com/images/mynewimg/real-madrid-2014-2015-benzem... http://www.rednicholson.com/images/mynewimg/real-cheap-usa-2014-dempsey-... http://www.maisonbatlo.com/images/newimg/chile-home-soccer-jersey-2014.jpg http://www.addoriccio.com/images/mynewimg/real-madrid-karim-benzema-home... http://www.frogcontrol.com/images/mynewimg/manchester-city-kun-aguero-aw... http://www.clipandclaro.com/images/mynewimg/marseille-barton-6-season-20... http://www.rootandlodge.com/images/mynewimg/buy-official-2014-2015-chels... http://www.orbeustest.com/images/mynewimg/chelsea-2014-15-torres-home-so... http://www.clipandclaro.com/images/mynewimg/wholesale-original-2014-2015... http://www.maisonbatlo.com/images/newimg/arsenal-away-yellow-jersey-2013... http://www.retrolapse.com/images/mynewimg/cheap-wholesale-2014-2015-chel... http://www.iranisotop.com/images/mynewimg/real-madrid-carvajal-home-whit... http://www.moxiemakery.com/images/mynewimg/chelsea-ramires-home-blue-jer... http://www.yougametv.com/images/newimg/barcelona-2013-2014-jordi-alba-ls... http://www.addoriccio.com/images/mynewimg/netherlands-2014-v.persie-away... http://www.stanejagodic.com/images/mynewimg/mexico-2014-chicharito-ls-aw... http://www.leastcoins.com.com/images/mynewimg/chelsea-2014-15-terry-ls-h... http://www.addoriccio.com/images/mynewimg/manchester-united-2013-2014-an... http://www.shelbyalws.com/images/mynewimg/wholesale-original-juventus-zi... http://www.iranisotop.com/images/mynewimg/arsenal-gibbs-away-yellow-jers... http://www.retrolapse.com/images/mynewimg/custom-shop-2014-2015-ac-milan... http://www.lotustr.com/images/mynewimg/official-cheap-2014-2015-liverpoo... http://www.funkreman.com/images/mynewimg/shop-2014-2015-marseille-away-f... http://www.iranisotop.com/images/mynewimg/real-madrid-marcelo-ls-home-wh... http://www.organizevfx.com/images/mynewimg/cheap-order-dortmund-kehl-5-s... http://www.shelbyalws.com/images/mynewimg/custom-official-switzerland-ho... http://www.yougametv.com/images/newimg/barcelona-2013-2014-pedro-home-so... http://www.maisonbatlo.com/images/newimg/arsenal-wilshere-home-red-jerse... http://www.shelbyalws.com/images/mynewimg/cheap-new-arsenal-vermaelen-5-... http://www.rootandlodge.com/images/mynewimg/wholesale-barcelona-tello-37... http://www.funkreman.com/images/mynewimg/buy-genuine-bayern-munich-thiag... http://www.maisonbatlo.com/images/newimg/ac-milan-nocerino-away-white-je... http://www.stanejagodic.com/images/mynewimg/mexico-2014-away-soccer-jers... http://www.lotustr.com/images/mynewimg/official-custom-chelsea-oscar-11-... http://www.moxiemakery.com/images/mynewimg/chelsea-2013-2014-torres-ls-h... http://www.shelbyalws.com/images/mynewimg/original-custom-2014-2015-lyon... http://www.organizevfx.com/images/mynewimg/discount-custom-2014-2015-bay... http://www.organizevfx.com/images/mynewimg/buy-cheap-sporting-cp-slimani... http://www.clipandclaro.com/images/mynewimg/order-2014-2015-liverpool-aw... http://www.hbdjd.com/images/mynewimg/japan-2014-away-soccer-jersey.jpg http://www.lotustr.com/images/mynewimg/cheap-discount-usa-donovan-away-f... http://www.moxiemakery.com/images/mynewimg/colombia-2014-escobar-home-ye... http://www.iranisotop.com/images/mynewimg/chelsea-2014-15-cech-ls-home-g... http://www.addoriccio.com/images/mynewimg/ac-milan-14-15-el-shaarawy-thi... http://www.lotustr.com/images/mynewimg/juventus-matri-32-season-2013-201... http://www.rootandlodge.com/images/mynewimg/genuine-2014-2015-psg-douche... http://www.retrolapse.com/images/mynewimg/sale-brazil-neymar-jr-home-yel...

http://www.yunjiliye.com/thread-1084201-1-1.html http://www.euds.net/piwigo/picture.php?/138/list/178,21,142,238,216,115,... http://www.93tyy.com/thread-72531-1-1.html http://www.9t9.cc/forum.php?mod=viewthread&tid=317646 http://www.planinica.info/galerija/picture.php?/58/list/15,71,28,96,59,2... http://www.sirso.com/forum.php?mod=viewthread&tid=646277 http://guanyuma.com/home.php?mod=space&uid=14934 http://rustika-bogdanovic.com/galerija/picture.php?/15/list/170,251,354,... http://www.france-wojtkowiak.com/galerie/picture.php?/86/list/63,52,84,7... http://qqbaiyin.com/forum.php?mod=viewthread&tid=178372 http://club-images-et-nature.com/fotos/picture.php?/3128/category/326/st... http://www.yishui100.com/forum.php?mod=viewthread&tid=461775 http://apchv.com/bbs/forum.php?mod=viewthread&tid=95419&extra= http://photos.keithklingen.com/picture.php?/1431/list/1035,446,256,1431,... http://rustika-bogdanovic.com/galerija/picture.php?/313/list/335,519,123... http://48c1.freevnn.com/viewtopic.php?f=2&t=111169 http://blog.myoeoe.com.tw/forum.php?mod=viewthread&tid=2892711 http://www.tonaudio.com/bbs/thread-754963-1-1.html http://www.tonaudio.com/bbs/thread-754964-1-1.html http://ftpmjtxw.synddos.com/thread-38411-1-1.html http://www.tonaudio.com/bbs/home.php?mod=space&uid=64618 http://jtsg.dylsw.net/forum.php?mod=viewthread&tid=1845640 http://d.smartinfohk.com/house3/home.php?mod=space&uid=26626&do=blog&qui... http://48c1.freevnn.com/viewtopic.php?f=2&t=111170 http://www.meishu029.com/forum.php?mod=viewthread&tid=852484 http://lemibao.com/forum.php?mod=viewthread&tid=35475 http://202.109.115.218:8080/read.php?tid=9387012 http://www.chhaoes.com/bbs/home.php?mod=space&uid=79362&do=blog&quickfor... http://www.qzmuseum.net/Review.asp?NewsID=139 http://www.4ztt.com/forum.php?mod=viewthread&tid=346021 http://www.planinica.info/galerija/picture.php?/58/list/15,71,28,96,59,2... http://28iii.700didi.co.in/forum.php?mod=viewthread&tid=696026 http://center.snxiaowai.com/forum.php?mod=viewthread&tid=670606 http://237.newfine.net/home.php?mod=spacecp&ac=blog&blogid= http://qzmuseum.net/Review.asp?NewsID=139 http://t5.0517test.com/forum.php?mod=viewthread&tid=867509 http://plataformaisonomia.uji.es/campanyabonrotllo/picture.php?/35/list/... http://gruot.gicp.net:87/home.php?mod=space&uid=151185&do=blog&quickforw... http://chaoshan.bbs.home77.com/thread-1162614-1-1.html http://www.planinica.info/galerija/picture.php?/55/category/1/start-570&... http://www.kakaland.com/forum.php?mod=viewthread&tid=449485 http://www.jyxgzx.com:8080/read.php?tid=3664048 http://www.yibetong.com/Review.asp?NewsID=500 http://0515.heibuhei.com/forum.php?mod=viewthread&tid=547803 http://bbs.zaowan.cn/home.php?mod=space&uid=67868&do=blog&quickforward=1... http://plataformaisonomia.uji.es/campanyabonrotllo/picture.php?/32/list/... http://ceshi15.ttyouni.net/showtopic-558916.aspx http://bbs.qingwaquan.com/home.php?mod=space&uid=107108 http://www.nchy.net/home.php?mod=space&uid=75623 http://www.0797city.com/home.php?mod=space&uid=126941&do=blog&quickforwa...

Add new comment