[GoogleSearchBridge] Replace 'div[id=ires]' with 'div[id=res]' (#1329)
This commit is contained in:
parent
46873e14fe
commit
59be6bded2
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue