Skip to content

Commit

Permalink
Update scraper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
vikash12345 committed Nov 23, 2017
1 parent eead496 commit 241fea5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions scraper.php
Expand Up @@ -17,6 +17,15 @@
if ($RowNumb != 0)
{
$no = $element->find('td[1]', 0)->plaintext;


echo "$no\n";



/*
$nomor = $element->find('td[2]', 0)->plaintext;
$tangal = $element->find('td[3]', 0)->plaintext;
$klasifikasi = $element->find('td[4]', 0)->plaintext;
Expand All @@ -25,8 +34,7 @@
$lama = $element->find('td[7]', 0)->plaintext;
$details = $element->find('td[8]\a', 0)->href;
echo "$no\n";
/*scraperwiki::save_sqlite(array('no'), array('no' => $no,
scraperwiki::save_sqlite(array('no'), array('no' => $no,
'nomor' => $nomor,
'tangal' => $tangal,
'klasifikasi' => $klasifikasi,
Expand Down

0 comments on commit 241fea5

Please sign in to comment.