QueryList html($html)


设置待采集的html源码,等价于setHtml($html)

用法


  1. $html = file_get_contents('https://querylist.cc/');
  2. $ql = QueryList::html($html);
  3. //$ql->setHtml($html);
  4. $html = $ql->getHtml();