Skip to content

Commit

Permalink
Update scraper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
handelaar committed Jul 6, 2017
1 parent 74a17fa commit 4d99ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.php
Expand Up @@ -93,7 +93,7 @@
echo "received $date_received\n";
$date_scraped = date($date_format);
$on_notice_from = $date_received;
$todate = $details->find('#apas_form')->find('div p',12)->plaintext;
$todate = $details->find('#apas_form')->find('div',13)->plaintext;
if(stristr($todate,'application may be made on or before ')) {
$todate = explode('application may be made on or before ',$todate);
$on_notice_to = $todate[1];
Expand Down

0 comments on commit 4d99ce0

Please sign in to comment.