I have some HTML like this:
Code: 12345 Category: faucets
A simpler solution is:
var category = $('span:contains("Category:") + span').text()
This is css plus the :contains pseudo that is part of jQuery and supported by cheerio.
:contains