feat: add filename extension and verbose flag

This commit is contained in:
2026-02-19 13:43:07 +01:00
parent 1026868e01
commit 80e2d868d2
7 changed files with 50 additions and 25 deletions

View File

@@ -33,6 +33,8 @@ type LinkByPlatform struct {
func (app *App) ConvertSongUrl(url string) (SongLinkResponse, error) {
var result SongLinkResponse
app.log("Searching " + url)
rawResponse, err := http.Get(SONGLINK_API_BASE_URL + url)
if err != nil {
return result, err