mirror of
https://github.com/Superredstone/spotiflac-cli.git
synced 2026-06-17 16:44:40 +02:00
feat: add --interval flag
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ func (app *App) DownloadPlaylist(url string, outputFile string, service string,
|
||||
}
|
||||
|
||||
// Avoid getting rate limited
|
||||
time.Sleep(800 * time.Millisecond)
|
||||
time.Sleep(time.Duration(app.ApiInterval) * time.Millisecond)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user