diff --git a/src/Parsers/HtmlParser.php b/src/Parsers/HtmlParser.php index c8717cf..ab18eae 100644 --- a/src/Parsers/HtmlParser.php +++ b/src/Parsers/HtmlParser.php @@ -180,6 +180,8 @@ protected function parseHtml(LinkInterface $link) if (!isset($cover) && count($images)) $cover = $images[0]; + if(isset($cover) && !empty($cover) && $cover[0] === '/') $cover = $link->getUrl().$cover; + return compact('cover', 'title', 'description', 'images', 'video', 'videoType'); } }