lcsd booking
Recognize first captcha
Decode response from https://t2.leisurelink.lcsd.gov.hk/lcsd/leisurelink/facilityBooking.do request
Download 100 captcha1 images for generating background
Extract background for captcha1 from 100 downloaded images
Check the booking status
List all the requests form data for different courts (TODO: need to fill in all the combinations)
Contains example of calling captcha1 and decodeResponse
- Fill in requestCourtList.json
- Improvement on captcha1 accuracy
- Unknown bug(issue): request of getting court info may fail even the cookies are correct
python, opencv, nodejs, pytesseract are required
npm install
node checkBooking.js