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 1cafc65 commit 6cecd87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.php
Expand Up @@ -16,7 +16,7 @@

$movies=$dom->find('.titleColumn');
$ids=[];
foreach($movies->find('a') as $link) {
foreach($dom->find('titleColumn')->find('a') as $link) {
echo $movies->plaintext;
preg_match('/.*?\/title\/(.+)?\/', $link->href, $match);
$ids[]=$match[1];
Expand Down

0 comments on commit 6cecd87

Please sign in to comment.