Add validation package #19

Merged
xbazzi merged 5 commits from issue-7 into master 2025-02-13 22:10:24 -07:00
Showing only changes of commit b6b6db6457 - Show all commits

View File

@ -3,7 +3,6 @@ package validation
import (
"errors"
"fmt"
"log"
neturl "net/url"
"strings"
)
@ -46,7 +45,6 @@ func IsMusicUrl(url string) (bool, error) {
}
for _, host := range musicHosts {
log.Println(parsed.Host)
if host == parsed.Host {
return true, nil
}