From dfc2b605f569fac5c66ee64737bf91df6c6e0c58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Sat, 2 Apr 2016 03:10:29 -0600 Subject: [PATCH] Added audio playback from soundcloud --- src/audio_services/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio_services/services.py b/src/audio_services/services.py index 9afa47a5..1db7c9b7 100644 --- a/src/audio_services/services.py +++ b/src/audio_services/services.py @@ -10,7 +10,7 @@ def convert_audioboom(url): audio_id = url.split('.com/')[-1] return 'https://audioboom.com/%s.mp3' % audio_id -@matches_url ('http://soundcloud.com/') +@matches_url ('https://soundcloud.com/') def convert_soundcloud (url): client_id = "df8113ca95c157b6c9731f54b105b473" permalink = urllib.urlopen ('http://api.soundcloud.com/resolve.json?client_id=%s&url=%s' %(client_id, url))