Documentation ¶
Overview ¶
Package scraper provides a function to Scrape UGC info from a JSON file.
A couple of variables can be set to make it function properly. The results are saved in a JSON file or XLSX file according according to the variable resultFormat.
Index ¶
Constants ¶
View Source
const ( TIKTOK = "https://www.tiktok.com" TIKTOK_SEARCH = TIKTOK + "/search?q=" )
Variables ¶
This section is empty.
Functions ¶
func Scrape ¶
Scrape scrapes UGC info according to a JSON file providing their unique IDs.
It will supposingly save results anyway whether the process has finished successfully or not.
func SetHeadless ¶
func SetHeadless(h bool)
func SetRecentVideosNum ¶
func SetRecentVideosNum(r uint)
func SetResultFormat ¶
func SetResultFormat(f string)
func SetVerbose ¶
func SetVerbose(v bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.