|
@@ -58,7 +58,7 @@ class KununuBridge extends BridgeAbstract {
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- return self::URI . $site . '/' . $company . '/' . $section;
|
|
|
+ return self::URI . $site . '/' . $company . '/' . $section . '?sort=update_time_desc';
|
|
|
}
|
|
|
|
|
|
return parent::getURI();
|
|
@@ -190,11 +190,11 @@ class KununuBridge extends BridgeAbstract {
|
|
|
* Returns the URI from a given article
|
|
|
*/
|
|
|
private function extractArticleUri($article){
|
|
|
- $anchor = $article->find('ku-company-review-more', 0);
|
|
|
+ $anchor = $article->find('h1.review-title a', 0);
|
|
|
if(is_null($anchor))
|
|
|
returnServerError('Cannot find article URI!');
|
|
|
|
|
|
- return self::URI . $anchor->{'review-url'};
|
|
|
+ return self::URI . $anchor->href;
|
|
|
}
|
|
|
|
|
|
/**
|