mirror of
https://github.com/pikami/tiktok-dl.git
synced 2025-06-05 14:30:04 +01:00
15 lines
324 B
Go
15 lines
324 B
Go
package client
|
|
|
|
import (
|
|
models "../models"
|
|
)
|
|
|
|
// GetMusicUploads - Get all uploads by given music
|
|
func GetMusicUploads(url string) ([]models.Upload, error) {
|
|
actionOutput, err := executeClientAction(url, "bootstrapIteratingVideos()")
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return models.ParseUploads(actionOutput), nil
|
|
}
|