设置待采集的html源码,等价于setHtml($html)
setHtml($html)
$html = file_get_contents('https://querylist.cc/'); $ql = QueryList::html($html); //$ql->setHtml($html); $html = $ql->getHtml();