[GoogleSearch] Use other class for content retreiving (#1803)

This commit is contained in:
Eugene Molotov 2020-10-19 16:22:37 +05:00 committed by GitHub
parent 5e4f3c351e
commit 364b5282a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class GoogleSearchBridge extends BridgeAbstract {
$t = $element->find('a[href]', 0)->href;
$item['uri'] = htmlspecialchars_decode($t);
$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;
}