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 5db5508 commit 05253a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scraper.php
Expand Up @@ -17,6 +17,7 @@
$movies=$dom->find('.titleColumn');
$ids=[];
foreach($dom->find('td.titleColumn') as $movie) {
print_r($movie->innertext);

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

0 comments on commit 05253a2

Please sign in to comment.