Commit 301b9974 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Update Qualigo.php

parent 8d87af86
......@@ -3,6 +3,7 @@
namespace App\Models\parserSkripte;
use App\Models\XmlSearchengine;
use Log;
class Qualigo extends XmlSearchengine
{
......@@ -14,6 +15,10 @@ class Qualigo extends XmlSearchengine
protected function loadXmlResults($resultsXml)
{
if(empty($resultsXml) || !$resultsXml){
Log::error("A problem occurred parsing results from $this->name:");
return;
}
try {
$results = $resultsXml->xpath('//RL/RANK');
foreach ($results as $result) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment