Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update scraper.php
  • Loading branch information
vikash12345 committed Sep 11, 2017
1 parent 0e951b3 commit c32f93f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scraper.php
Expand Up @@ -17,7 +17,8 @@ function get_data($url) {
return $data;
}
$link = file_get_html($url) ;
$click = $link->selectButton('Mahasiswa')->form();
echo $click;
foreach($link->find("//[@id='mahasiswa']/table/tbody") as $element){
echo $element;
}

?>

0 comments on commit c32f93f

Please sign in to comment.