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

index 9d0ef78..63bdd62 100644 (file)
@@ -120,7 +120,7 @@ class Pman_Reader_Parse_Baidu {
                 continue;
             }
             
-            $q = "//table/tr/td/div[2]";
+            $q = "//table/tr/td/div/div[2]";
             $body = $xp->query($q);
             print_r(mb_convert_encoding($newDom->saveHTML($body->item(0)), 'HTML-ENTITIES', "UTF-8"));
             $t['body'] = $body->item(0)->nodeValue;