[GoogleSearch] Use other class for content retreiving (#1803)
This commit is contained in:
parent
5e4f3c351e
commit
364b5282a3
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class GoogleSearchBridge extends BridgeAbstract {
|
||||||
$t = $element->find('a[href]', 0)->href;
|
$t = $element->find('a[href]', 0)->href;
|
||||||
$item['uri'] = htmlspecialchars_decode($t);
|
$item['uri'] = htmlspecialchars_decode($t);
|
||||||
$item['title'] = $element->find('h3', 0)->plaintext;
|
$item['title'] = $element->find('h3', 0)->plaintext;
|
||||||
$item['content'] = $element->find('span[class=st]', 0)->plaintext;
|
$item['content'] = $element->find('span[class=aCOpRe]', 0)->plaintext;
|
||||||
|
|
||||||
$this->items[] = $item;
|
$this->items[] = $item;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue