From 59be6bded2d34cba1928116dca7c0d2ff941c1ac Mon Sep 17 00:00:00 2001 From: Joseph Date: Wed, 16 Oct 2019 19:44:41 +0000 Subject: [PATCH] [GoogleSearchBridge] Replace 'div[id=ires]' with 'div[id=res]' (#1329) --- bridges/GoogleSearchBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/GoogleSearchBridge.php b/bridges/GoogleSearchBridge.php index 88f26e8c..e02aaeba 100644 --- a/bridges/GoogleSearchBridge.php +++ b/bridges/GoogleSearchBridge.php @@ -28,7 +28,7 @@ class GoogleSearchBridge extends BridgeAbstract { $html = getSimpleHTMLDOM($this->getURI()) or returnServerError('No results for this query.'); - $emIsRes = $html->find('div[id=ires]', 0); + $emIsRes = $html->find('div[id=res]', 0); if(!is_null($emIsRes)) { foreach($emIsRes->find('div[class=g]') as $element) {