buriy / python-readability

fast python port of arc90's readability tool, updated to match latest readability.js!
https://github.com/buriy/python-readability
Apache License 2.0
2.66k stars 348 forks source link

please replace log.info() with log.debug() in Document.select_best_candidates() #141

Closed yevgenpapernyk closed 4 years ago

yevgenpapernyk commented 4 years ago

I guess it should be log.debug() - that would make more sense for me.

see the following peace of code:

for candidate in sorted_candidates[:5]:
    elem = candidate['elem']

    # log.debug() instead of log.info()
    log.info("Top 5 : %6.3f %s" % (  
        candidate['content_score'],
        describe(elem)))
buriy commented 4 years ago

Fixed