diff --git a/main.go b/main.go index f548d5e..ea9eea9 100644 --- a/main.go +++ b/main.go @@ -315,21 +315,37 @@ func main() { chromedp.Sleep(5000*time.Millisecond), // TODO(mpl): do it the smart(er) way: nav right in photo view until the URL does not change anymore. Or something. chromedp.KeyEvent(kb.ArrowRight), + chromedp.Sleep(500*time.Millisecond), chromedp.KeyEvent(kb.ArrowRight), + chromedp.Sleep(500*time.Millisecond), chromedp.KeyEvent(kb.ArrowRight), + chromedp.Sleep(500*time.Millisecond), chromedp.KeyEvent(kb.ArrowRight), + chromedp.Sleep(500*time.Millisecond), chromedp.KeyEvent(kb.ArrowRight), + chromedp.Sleep(500*time.Millisecond), chromedp.KeyEvent(kb.ArrowRight), + chromedp.Sleep(500*time.Millisecond), chromedp.KeyEvent(kb.ArrowRight), + chromedp.Sleep(500*time.Millisecond), chromedp.KeyEvent(kb.ArrowRight), + chromedp.Sleep(500*time.Millisecond), chromedp.KeyEvent(kb.ArrowRight), + chromedp.Sleep(500*time.Millisecond), chromedp.KeyEvent(kb.ArrowRight), + chromedp.Sleep(500*time.Millisecond), chromedp.KeyEvent(kb.ArrowRight), + chromedp.Sleep(500*time.Millisecond), chromedp.KeyEvent(kb.ArrowRight), + chromedp.Sleep(500*time.Millisecond), chromedp.KeyEvent(kb.ArrowRight), + chromedp.Sleep(500*time.Millisecond), chromedp.KeyEvent(kb.ArrowRight), + chromedp.Sleep(500*time.Millisecond), chromedp.KeyEvent(kb.ArrowRight), + chromedp.Sleep(500*time.Millisecond), chromedp.KeyEvent(kb.ArrowRight), + chromedp.Sleep(500*time.Millisecond), chromedp.ActionFunc(firstNav), chromedp.ActionFunc(dlAndMoveW()), chromedp.ActionFunc(navN("left", *nItemsFlag-1)),