Pman/Reader/Parse/Baidu.php
authorChris <chris@roojs.com>
Mon, 6 Jan 2014 08:44:11 +0000 (16:44 +0800)
committerChris <chris@roojs.com>
Mon, 6 Jan 2014 08:44:11 +0000 (16:44 +0800)
Pman/Reader/Parse/Baidu.php

index c7f62f4..432bf99 100644 (file)
@@ -112,7 +112,7 @@ class Pman_Reader_Parse_Baidu {
             $t['headline'] = strip_tags($hl->item(0)->nodeValue);
 //
 //
-            $q = "div[@class='sb_tlst']/h3/a";
+            $q = "//table/tr/td/div[@class='c-abstract']";
             $body = $xp->query($q);
 
             $t['body'] = $body->item(0)->nodeValue;