Skip to content

pujiaxun/node_my_school

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node My School

Description

This is a refactoring followed the hack_my_school by using Node.js instead of Ruby.

Because of the fucking error "too many connection resets" of Mechanize in Ruby, I decide to rewrite a crawler with Node.js, and practice JavaScript programming by the way.

Why I Gave up Mechanize

TODO

  • Simulate logging in the education administration system of our school.
  • Recognize the captcha automatically with Tesseract-OCR.
  • Parse the HTML to achieve scores, and beautify them into a proper data structure.
  • Design an algorithm to judge whether there are updated scores.
  • Send email if scores updated.
  • Use asynchronous method to support more subscribers.
  • Bold the new scores in the email.

About

Hack my school with Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published