Getting soundcloud to work [ci skip]

This commit is contained in:
MichaelOultram 2015-08-13 14:36:30 +01:00
parent 67c8b696a4
commit d4b54bfa79

View file

@ -10,8 +10,8 @@ import (
) )
// Regular expressions for soundcloud urls // Regular expressions for soundcloud urls
var soundcloudSongPattern = `https?:\/\/(www)?\.soundcloud\.com\/([\w-]+)\/([\w-]+)` var soundcloudSongPattern = `https?:\/\/(www\.)?soundcloud\.com\/([\w-]+)\/([\w-]+)`
var soundcloudPlaylistPattern = `https?:\/\/(www)?\.soundcloud\.com\/([\w-]+)\/sets\/([\w-]+)` var soundcloudPlaylistPattern = `https?:\/\/(www\.)?soundcloud\.com\/([\w-]+)\/sets\/([\w-]+)`
// SoundCloud implements the Service interface // SoundCloud implements the Service interface
type SoundCloud struct{} type SoundCloud struct{}