From 364b5282a3c63816155ac0e35e900ca6441f4e8c Mon Sep 17 00:00:00 2001 From: Eugene Molotov Date: Mon, 19 Oct 2020 16:22:37 +0500 Subject: [PATCH] [GoogleSearch] Use other class for content retreiving (#1803) --- bridges/GoogleSearchBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/GoogleSearchBridge.php b/bridges/GoogleSearchBridge.php index 650696e2..10f0f121 100644 --- a/bridges/GoogleSearchBridge.php +++ b/bridges/GoogleSearchBridge.php @@ -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; }