tiktokdl

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2019 License: GPL-3.0 Imports: 14 Imported by: 0

README

tiktok-dl

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Download

func Download(url string, outputDirectory string, randomUA, verbose bool) error

Download take a TikTok URL as parameter and an optional output directory, fetch needed informations, and download the files.

Types

type Metadata

type Metadata struct {
	Username  string `json:"username"`
	PosterURL string `json:"poster_url"`
	VideoURL  string `json:"video_url"`
	Music     string `json:"music"`
	Title     string `json:"title"`
}

Metadata contain video's metadatas

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL