From 382ef28abe1443ea88bc2c6b856fc1a42daee0a1 Mon Sep 17 00:00:00 2001 From: Teromene Date: Sun, 1 May 2016 17:24:24 +0100 Subject: [PATCH] Fix the doubled HTTPS. --- bridges/YoutubeBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/YoutubeBridge.php b/bridges/YoutubeBridge.php index 6869ac0..1309cba 100644 --- a/bridges/YoutubeBridge.php +++ b/bridges/YoutubeBridge.php @@ -91,7 +91,7 @@ class YoutubeBridge extends BridgeAbstract { $videoquery = parse_url($element->find('a',0)->href, PHP_URL_QUERY); parse_str($videoquery, $videoquery); $item->id = $videoquery['v']; $item->uri = 'https://www.youtube.com/watch?v='.$item->id; - $item->thumbnailUri = 'https:'.$element->find('img',0)->src; + $item->thumbnailUri = $element->find('img',0)->src; $item->title = trim($element->find('h3',0)->plaintext); $item->timestamp = getPublishDate($item->id); $item->content = '
' . $item->title . '';