jsonArr);$i++)
{
if($this->searcher=='baidu')
diff --git a/demo/demo.php b/demo/demo.php
index 7b6a119..63eb10b 100644
--- a/demo/demo.php
+++ b/demo/demo.php
@@ -6,7 +6,7 @@ $url = "http://www.oschina.net/code/list";
$reg = array("title"=>array(".code_title a:eq(0)","text"),"url"=>array(".code_title a:eq(0)","href"),"author"=>array("img","title"));
$rang = ".code_list li";
//使用curl抓取源码并以GB2312编码格式输出
-$hj = new QueryList($url,$reg,$rang,'curl','GB2312');
+$hj = QueryList::Query($url,$reg,$rang,'curl','GB2312');
$arr = $hj->jsonArr;
echo "";
print_r($arr);
@@ -21,7 +21,7 @@ echo $json . "
";
//采OSC内容页内容
$url = "http://www.oschina.net/code/snippet_186288_23816";
$reg = array("title"=>array(".QTitle h1","text"),"con"=>array(".Content","html"));
-$hj = new QueryList($url,$reg);
+$hj = QueryList::Query($url,$reg);
$arr = $hj->jsonArr;
echo "";
print_r($arr);
diff --git a/demo/thanks.png b/demo/thanks.png
new file mode 100644
index 0000000..b5c72a7
Binary files /dev/null and b/demo/thanks.png differ