hk0weather is a open source project to collect/crawl useful weather information/data from Hong Kong Observatory, and convert collected data into machine-readable format (eg. JSON).
hk0weather is written in python, with use of scrapy (a web crawl framework in python) and regular expression.
Source code is available on github.
$ virtualenv hk0weatherenv
$ source hk0weatherenv/bin/activate
$ pip install scrapy
$ git clone https://github.com/sammyfung/hk0weather.git
$ cd hk0weather
$ scrapy crawl currwx -t json -o testresult
I introduced this project on my following Chinese blog.
And I also presented it at BarCampHK 2013 and a local open source workshop, hereby is my slide.