gitignore
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
test
|
||||||
@@ -250,7 +250,7 @@ func parsePlaylist(playlist *goquery.Selection) []data.MusicObject {
|
|||||||
func (m *Musify) Search(query common.Query) ([]data.MusicObject, error) {
|
func (m *Musify) Search(query common.Query) ([]data.MusicObject, error) {
|
||||||
musicObjects := []data.MusicObject{}
|
musicObjects := []data.MusicObject{}
|
||||||
|
|
||||||
resp, err := m.session.PostMultipartForm("https://musify.club/en/search", map[string]string{
|
resp, err := m.session.PostMultipartForm("https://musify.club/search", map[string]string{
|
||||||
"SearchText": query.Search, // alternatively I could also add year and genre
|
"SearchText": query.Search, // alternatively I could also add year and genre
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user