Hacker News new | past | comments | ask | show | jobs | submit login

Thanks for sharing! It does not work though for pages that take time to load (at best - image previous, at worst - only background. Any ideas how to change that?



There is a "wait"[0] option you can set to wait for page to load.

Edit: Sorry, I didn't see the author has replied you.

[0] https://github.com/simonw/shot-scraper-template#configuring-...


You can add this to your YAML:

    - url: https://...
      wait: 3000


It works, thanks!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: