nrabinowitz / pjscrape

A web-scraping framework written in Javascript, using PhantomJS and jQuery
http://nrabinowitz.github.io/pjscrape/
MIT License
996 stars 159 forks source link

Add delay between runs #31

Closed yubrew closed 11 years ago

yubrew commented 11 years ago

Allows for delays between runs.

pjs.config({
  delayBetweenRuns: 1000,
});

This is the original inspiration for the code: http://stackoverflow.com/a/14238881

yubrew commented 11 years ago

https://github.com/yubrew/pjscrape/commit/8c45c7d749301ef6424c587a02e4c885c53c20f5