How to implement similar html page scrubber like Arc90's Readability or Instapaper?

前端 未结 3 1251
故里飘歌
故里飘歌 2021-01-31 23:45

I\'m interested to find out how to scrub a html page and present it nicely -- remove all the clutters and reformat the main text into a very readable format -- like http://lab.a

3条回答
  •  猫巷女王i
    2021-02-01 00:46

    https://github.com/jiminoc/goose/wiki does something like you're asking, source code is openly available along with unit tests

提交回复
热议问题