Getting soundcloud to work [ci skip]
This commit is contained in:
parent
67c8b696a4
commit
d4b54bfa79
|
@ -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{}
|
||||||
|
|
Reference in a new issue