Documentation
¶
Overview ¶
Package tiktok extracts downloadable media from TikTok video links by loading the page in a real (headless) browser, which bypasses TikTok's anti-bot.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVideo ¶
GetVideo loads a TikTok video page (short vt.tiktok.com / vm.tiktok.com links are followed automatically) and returns the playable media.
TikTok CDN URLs return 403 unless the request carries the visit cookies plus a tiktok.com referer, so those are attached to the item as DownloadHeaders for internal/media.Loader.Open to use.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.