mirror of
https://github.com/pikami/tiktok-dl.git
synced 2024-11-25 09:15:41 +00:00
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
|
// Navigate to user's page
|
||||||
chromedp.Navigate(url),
|
chromedp.Navigate(url),
|
||||||
// Execute url grabber script
|
// Execute url grabber script
|
||||||
chromedp.WaitReady("video"),
|
|
||||||
chromedp.EvaluateAsDevTools(utils.ReadFileAsString("scraper.js"), &jsOutput),
|
chromedp.EvaluateAsDevTools(utils.ReadFileAsString("scraper.js"), &jsOutput),
|
||||||
chromedp.EvaluateAsDevTools(jsAction, &jsOutput),
|
chromedp.EvaluateAsDevTools(jsAction, &jsOutput),
|
||||||
)
|
)
|
||||||
|
@ -30,7 +30,7 @@ optStrings = {
|
|||||||
currentState = {
|
currentState = {
|
||||||
preloadCount: 0,
|
preloadCount: 0,
|
||||||
finished: false,
|
finished: false,
|
||||||
limit: 100
|
limit: 0
|
||||||
};
|
};
|
||||||
|
|
||||||
createVidUrlElement = function(outputObj) {
|
createVidUrlElement = function(outputObj) {
|
||||||
|
Loading…
Reference in New Issue
Block a user