removed redundant output
This commit is contained in:
@@ -2,7 +2,6 @@ package plugin
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
@@ -328,8 +327,6 @@ func (m *Musify) FetchSong(source data.Source) (data.Song, error) {
|
||||
return song, errors.New("too many breadcrumbs on page")
|
||||
}
|
||||
|
||||
fmt.Println("found breadcrumbs")
|
||||
|
||||
if artistAnchor := listPoints.Eq(2).Find("a"); artistAnchor != nil && artistAnchor.Length() > 0 {
|
||||
artist := data.Artist{}
|
||||
useArtist := true
|
||||
@@ -357,8 +354,6 @@ func (m *Musify) FetchSong(source data.Source) (data.Song, error) {
|
||||
}
|
||||
|
||||
if albumAnchor := listPoints.Eq(3).Find("a"); albumAnchor != nil && albumAnchor.Length() > 0 {
|
||||
fmt.Println("found album")
|
||||
|
||||
if href, exists := albumAnchor.Attr("href"); exists {
|
||||
song.Album.Sources = append(song.Album.Sources, data.Source{
|
||||
Url: musifyHost + href,
|
||||
|
||||
Reference in New Issue
Block a user