mirror of
https://github.com/pikami/tiktok-dl.git
synced 2025-03-30 14:28:00 +01:00
15 lines
352 B
Go
15 lines
352 B
Go
package client
|
|
|
|
import (
|
|
models "../models"
|
|
)
|
|
|
|
// GetUserUploads - Get all uploads by user
|
|
func GetUserUploads(username string) ([]models.Upload, error) {
|
|
actionOutput, err := executeClientAction(`https://www.tiktok.com/@`+username, "bootstrapIteratingVideos()")
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return models.ParseUploads(actionOutput), nil
|
|
}
|