Remove debug print statement
This commit is contained in:
parent
0af6a94dbc
commit
6415a597da
|
@ -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]
|
||||||
|
|
Reference in a new issue