From d4b54bfa79c6b5ea4d5e628c0fcf9271acc0f931 Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Thu, 13 Aug 2015 14:36:30 +0100 Subject: [PATCH] Getting soundcloud to work [ci skip] --- service_soundcloud.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service_soundcloud.go b/service_soundcloud.go index ba36ccc..d98774d 100644 --- a/service_soundcloud.go +++ b/service_soundcloud.go @@ -10,8 +10,8 @@ import ( ) // Regular expressions for soundcloud urls -var soundcloudSongPattern = `https?:\/\/(www)?\.soundcloud\.com\/([\w-]+)\/([\w-]+)` -var soundcloudPlaylistPattern = `https?:\/\/(www)?\.soundcloud\.com\/([\w-]+)\/sets\/([\w-]+)` +var soundcloudSongPattern = `https?:\/\/(www\.)?soundcloud\.com\/([\w-]+)\/([\w-]+)` +var soundcloudPlaylistPattern = `https?:\/\/(www\.)?soundcloud\.com\/([\w-]+)\/sets\/([\w-]+)` // SoundCloud implements the Service interface type SoundCloud struct{}