Remove debug print statement

This commit is contained in:
Matthieu Grieger 2015-05-19 01:22:59 -07:00
parent 0af6a94dbc
commit 6415a597da

View file

@ -358,7 +358,6 @@ func NewYouTubePlaylist(user, id string) (*YouTubePlaylist, error) {
timestampExp := regexp.MustCompile(`P(?P<days>\d+D)?T(?P<hours>\d+H)?(?P<minutes>\d+M)?(?P<seconds>\d+S)?`) timestampExp := regexp.MustCompile(`P(?P<days>\d+D)?T(?P<hours>\d+H)?(?P<minutes>\d+M)?(?P<seconds>\d+S)?`)
timestampMatch := timestampExp.FindStringSubmatch(videoDuration) timestampMatch := timestampExp.FindStringSubmatch(videoDuration)
timestampResult := make(map[string]string) timestampResult := make(map[string]string)
fmt.Println(timestampExp.SubexpNames())
for i, name := range timestampExp.SubexpNames() { for i, name := range timestampExp.SubexpNames() {
if i < len(timestampMatch) { if i < len(timestampMatch) {
timestampResult[name] = timestampMatch[i] timestampResult[name] = timestampMatch[i]