Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update scraper.php
  • Loading branch information
Uzlopak committed Nov 30, 2015
1 parent 031567f commit ad495c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scraper.php
Expand Up @@ -27,7 +27,7 @@

<?php
require 'scraperwiki.php';
$endtime = time() + (60 * 60); //1h
$endtime = time() + (60 * 60) * 6; //6h
for ($id = 1200001; $id <= 1500000; $id++) {
if ($endtime <= time())
{
Expand All @@ -45,6 +45,7 @@
//limit to 5 secs
if ($delay > 5000000) {
$delay = 5000000;
exit;
}
usleep($delay);
ripById($id);
Expand Down

0 comments on commit ad495c8

Please sign in to comment.