let playersCell = `
<td class="foo" colspan="2">
<a href="example.com">
<span class="bold">John Beluga</span>
- Sarah Jay.
</a>
</td>
`
let players = cheerio.load(playersCell)
players.find('a').html()
私はcheerio.jsにHTML文字列をロードし、a
タグを見つけようと、私はplayers
.findはチェリオオブジェクトの機能ではありません
[TypeError: players.find is not a function]
Console.log
ショーを取得しています
あなたはこの '聞かせて選手= cheerio.load(playersCell)を試すことができます。 players( '。foo')。find( 'a').html() ' –