mirror of https://github.com/pikami/tiktok-dl.git
default limit value updated; WaitReady(video) removed
This commit is contained in:
parent
b6bb470064
commit
68612282ee
|
@ -65,7 +65,6 @@ func runScrapeWithInfo(ctx context.Context, jsAction string, url string) string
|
|||
// Navigate to user's page
|
||||
chromedp.Navigate(url),
|
||||
// Execute url grabber script
|
||||
chromedp.WaitReady("video"),
|
||||
chromedp.EvaluateAsDevTools(utils.ReadFileAsString("scraper.js"), &jsOutput),
|
||||
chromedp.EvaluateAsDevTools(jsAction, &jsOutput),
|
||||
)
|
||||
|
|
|
@ -30,7 +30,7 @@ optStrings = {
|
|||
currentState = {
|
||||
preloadCount: 0,
|
||||
finished: false,
|
||||
limit: 100
|
||||
limit: 0
|
||||
};
|
||||
|
||||
createVidUrlElement = function(outputObj) {
|
||||
|
|
Loading…
Reference in New Issue