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 a67a93d commit 4a5467e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.php
Expand Up @@ -16,7 +16,7 @@
foreach($dom->find('td.titleColumn') as $movie) {

preg_match('#.*?([1-9][0-9]{0,2})\..*?<a.*?\/title\/(.+?)\/.*#', $movie->innertext, $match);
$ids[]=['rank'=>match[1],'imdb_id'=>$match[2]];
$ids[]=['rank'=>$match[1],'imdb_id'=>$match[2]];
}
print_r($ids);
//scraperwiki::save_sqlite(['rank'],$ids)
Expand Down

0 comments on commit 4a5467e

Please sign in to comment.