Tjatse / node-readability

Scrape/Crawl article from any site automatically. Make any web page readable, no matter Chinese or English.
341 stars 36 forks source link

Cleaning reader #36

Closed midudev closed 8 years ago

midudev commented 8 years ago

Separate some scoring methods. Rename getClassWeight to getClassScore to keep the name convention on scoring tag. Add some comments to define methods and some not clear lines. Change na name of var to attrs a bit more readable.