Skip drafts
This commit is contained in:
parent
2f176ee602
commit
8ac693734e
@ -15,6 +15,10 @@ func main() {
|
||||
defer arn.Node.Close()
|
||||
|
||||
for track := range arn.StreamSoundTracks() {
|
||||
if track.IsDraft {
|
||||
continue
|
||||
}
|
||||
|
||||
fmt.Println(track.Title)
|
||||
|
||||
err := track.Download()
|
||||
|
Loading…
Reference in New Issue
Block a user