1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-25 19:01:18 +02:00

[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

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;
}