mirror of
https://github.com/pikami/tiktok-dl.git
synced 2026-11-21 01:22:34 +00:00
Added debug option
This commit is contained in:
1 parent
2b56584b1b
commit
38c23fd9f5
3 files changed
+5
-1
No files matched your search
@@ -23,7 +23,7 @@ func GetUserUploads(username string) []models.Upload {
|
||||
opts := append(chromedp.DefaultExecAllocatorOptions[:],
|
||||
chromedp.DisableGPU,
|
||||
chromedp.UserDataDir(dir),
|
||||
chromedp.Flag("headless", false),
|
||||
chromedp.Flag("headless", models.Config.UserName),
|
||||
)
|
||||
|
||||
allocCtx, cancel := chromedp.NewExecAllocator(context.Background(), opts...)
|
||||
|
||||
Reference in new issue
Block a user