Commit 3060ad03 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Einige dies aus den Suchmaschinenskripten entfernt.

parent 075761e0
......@@ -20,8 +20,6 @@ class BASE extends Searchengine
$anzeigeLink = $link;
$descr = "";
#die($result);
/*$this->counter++;
$this->results[] = new \App\Models\Result(
$title,
......
......@@ -26,8 +26,6 @@ class Bing extends Searchengine
$anzeigeLink = $link;
$descr = $node->filter('li div > p')->text();
#die($result);
$this->counter++;
$this->results[] = new \App\Models\Result(
$this->engine,
......
......@@ -23,7 +23,6 @@ class Bing_bilder extends Searchengine
$anzeigeLink = $link;
$descr = $node->filter('div.meta > div.des')->text();
$image = $node->filter('a.thumb img')->attr("src");
#die($result);
$this->counter++;
$this->results[] = new \App\Models\Result(
......@@ -38,8 +37,6 @@ class Bing_bilder extends Searchengine
$image
);
} );
#die(var_dump($this->results));
}
}
\ No newline at end of file
......@@ -20,8 +20,6 @@ class Dmoznebel_int extends Searchengine
$anzeigeLink = $link;
$descr = "";
die($result);
$this->counter++;
$this->results[] = new \App\Models\Result(
$this->engine,
......
......@@ -15,7 +15,6 @@ class Exalead extends Searchengine
public function loadResults ($result)
{
# die($result);
$result = preg_replace("/\r\n/si", "", $result);
try {
$content = simplexml_load_string($result);
......@@ -44,7 +43,6 @@ class Exalead extends Searchengine
{
return;
}
die(var_dump($results));
foreach($results as $result)
{
try{
......
......@@ -31,7 +31,7 @@ class Fernsehsuche extends Searchengine
{
$title = $result->show . " : " . $result->title;
$link = urldecode($result->url);
$anzeigeLink = $link; #$result->stream_url_q1;die("hu");
$anzeigeLink = $link;
$descr = $result->description;
$image = "http://api-resources.fernsehsuche.de" . $result->thumbnail;
$this->counter++;
......
......@@ -14,7 +14,6 @@ class Mg_hochsch_de extends Searchengine
public function loadResults ($result)
{
die($result);
$results = trim($result);
foreach( explode("\n", $results) as $result )
......
......@@ -17,7 +17,6 @@ class Wikipedia extends Searchengine
$result = utf8_decode($result);
$counter = 0;
#die($crawler);
$this->results[] = new \App\Models\Result(
$this->engine,
trim(strip_tags($result[1])),
......
......@@ -15,7 +15,6 @@ class Yacy extends Searchengine
public function loadResults ($result)
{
# die($result);
try {
$content = simplexml_load_string($result);
} catch (\Exception $e) {
......
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