Hi, sorry for the late update. Streamyx was crawling like a snail over
the weekend :(
http://bit.ly/u7SES
This is the python script I used for extracting data from the mini
calculator (
http://www.plus.com.my/miniquery/index.asp). I have sorted
the 87 toll plazas and grouped them into 3k+ unordered pairs.
http://ahhong.co.cc/data.csv
This is the result of the extraction. The fields are (Start,
Destination, Class1 Normal Rate, Class1 Off Peak Rate, Class1 Off Peak
Festive Rate, Class2 Rate, Class3 Rate, Class4 Rate, Class5 Rate,
Distance in km). There are 10 fields in total.
NOTE:
- The data is not complete.
-- Not all pairs are valid. For example, there is result for Jitra to
Bkt. Tambun (Seletan), no result for Bkt. Tambun (Seletan) to Jitra.
-- There were errors for certain pairs (e.g. BTT, JBC). The website
return some error when you try to find data for Bt. Tiga to Johor
Bahru Causeway.
- The tolls code are already sorted alphabetically. In future, I will
reverse the order and extract the data again. Because not all routes
are bidirectional, come are unidirectional (e.g. BTS, JTR).
I think this is enough for me to start working on the Android coding.
@syah Do you want to share how you will be using the data?
P.S. This set of data took me 5 hours to extract.
On Oct 9, 10:17 am, Leong Hean Hong <
expertle...@gmail.com> wrote:
> Glad to hear your reply :)
>
> I have solved the cookie problem. The solution is to get a session ID
> (in cookie) from any site (e.g.
http://www.plus.com.my/index.asp).
> > > Thehttp://
www.plus.com.my/toll_calculator.aspisdevelopedin ASP,