Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
1c70bd50
Commit
1c70bd50
authored
Sep 19, 2016
by
Dominik Hebeler
Browse files
Bug in der Fernsehsuche behoben. Dort ist die Suche manchmal abgestürzt
parent
a80e87ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Models/parserSkripte/Fernsehsuche.php
View file @
1c70bd50
...
...
@@ -28,23 +28,27 @@ class Fernsehsuche extends Searchengine
$results
=
$content
->
response
->
docs
;
foreach
(
$results
as
$result
)
{
$title
=
$result
->
show
.
" : "
.
$result
->
title
;
$link
=
urldecode
(
$result
->
url
);
$anzeigeLink
=
$link
;
$descr
=
$result
->
description
;
$image
=
"http://api-resources.fernsehsuche.de"
.
$result
->
thumbnail
;
$this
->
counter
++
;
$this
->
results
[]
=
new
\
App\Models\Result
(
$this
->
engine
,
$title
,
$link
,
$anzeigeLink
,
$descr
,
$this
->
gefVon
,
$this
->
counter
,
false
,
$image
);
try
{
$title
=
$result
->
show
.
" : "
.
$result
->
title
;
$link
=
urldecode
(
$result
->
url
);
$anzeigeLink
=
$link
;
$descr
=
$result
->
description
;
$image
=
"http://api-resources.fernsehsuche.de"
.
$result
->
thumbnail
;
$this
->
counter
++
;
$this
->
results
[]
=
new
\
App\Models\Result
(
$this
->
engine
,
$title
,
$link
,
$anzeigeLink
,
$descr
,
$this
->
gefVon
,
$this
->
counter
,
false
,
$image
);
}
catch
(
\
ErrorException
$e
)
{
}
}
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment