Cheerio get content including the breaks and H tags from .text()

前端 未结 0 1877
庸人自扰
庸人自扰 2020-12-22 07:43

Is there a way to output the text from html using Cheerio which includes some html tags? I know that the .html() outputs the full html, but I only want the text

相关标签:
回答
  • 消灭零回复
提交回复
热议问题