diff --git a/service_youtube.go b/service_youtube.go index fc321d2..b93b30a 100644 --- a/service_youtube.go +++ b/service_youtube.go @@ -358,7 +358,6 @@ func NewYouTubePlaylist(user, id string) (*YouTubePlaylist, error) { timestampExp := regexp.MustCompile(`P(?P\d+D)?T(?P\d+H)?(?P\d+M)?(?P\d+S)?`) timestampMatch := timestampExp.FindStringSubmatch(videoDuration) timestampResult := make(map[string]string) - fmt.Println(timestampExp.SubexpNames()) for i, name := range timestampExp.SubexpNames() { if i < len(timestampMatch) { timestampResult[name] = timestampMatch[i]