我有工作正常以下时,有没有孩子的h4标签: if (BS.find('div', {"id" : "table_content"}).find('h4', text=re.compile(".*Super Users.*"))):
print "Found Super Users!"
然而,当h4标签有小孩,打印从不发生。我已经尝试使用调试以下内容: for h4 in BS.fin
我尝试使用下面的代码阅读Slashdot的RSS订阅阅读RSS提要: var htmlparser = require("htmlparser");
var sys = require("sys");
var handler = new htmlparser.RssHandler(function (error, dom) {
if(error) throw error;