Skip to content

Commit

Permalink
Update scraper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
handelaar committed Jun 30, 2017
1 parent 832364a commit c9d9ce9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scraper.php
Expand Up @@ -13,8 +13,8 @@
$dom->load($html);
$targets = array();

foreach ($dom->find("table th a[style='color: #590f56 !important;']") as $item)) {
if (stristr($item->href,'planning-alert') {
foreach ($dom->find("table th a[style='color: #590f56 !important;']") as $item) {
if (stristr($item->href,'planning-alert')) {
$targets[] .= $item->href;
}
}
Expand Down

0 comments on commit c9d9ce9

Please sign in to comment.