From 796e38ca2734d74872328ccac057cad0ec05523a Mon Sep 17 00:00:00 2001
From: Alexandre Morignot <erdnaxeli@cervoi.se>
Date: Sun, 15 May 2016 14:53:11 +0200
Subject: [PATCH] fix wrong spotify url

---
 PlayBot/sites/spotify.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PlayBot/sites/spotify.pm b/PlayBot/sites/spotify.pm
index 93e4044..3c72b63 100644
--- a/PlayBot/sites/spotify.pm
+++ b/PlayBot/sites/spotify.pm
@@ -74,7 +74,7 @@ sub get {
     $infos{'title'} = $content->{'name'};
     $infos{'duration'} = $content->{'duration_ms'} / 1000;
 	$infos{'site'} = 'spotify';
-    $infos{'url'} = 'https://open.spotify/track/'.$id;
+    $infos{'url'} = 'https://open.spotify.com/track/'.$id;
     $infos{'author'} = $content->{'artists'}->[0]->{'name'};
 	$infos{'external_id'} = $id;
 
-- 
GitLab