Skip to content

Commit

Permalink
Update scraper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mycwnet committed Sep 19, 2018
1 parent 2761c12 commit a67a93d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scraper.php
Expand Up @@ -18,6 +18,7 @@
preg_match('#.*?([1-9][0-9]{0,2})\..*?<a.*?\/title\/(.+?)\/.*#', $movie->innertext, $match);
$ids[]=['rank'=>match[1],'imdb_id'=>$match[2]];
}
scraperwiki::save_sqlite(['rank'],$ids)
print_r($ids);
//scraperwiki::save_sqlite(['rank'],$ids)

?>

0 comments on commit a67a93d

Please sign in to comment.