Skip to content

Commit

Permalink
Update scraper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
vikash12345 committed Sep 28, 2017
1 parent ce3bc20 commit 7f2f2f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scraper.php
Expand Up @@ -8,9 +8,12 @@
{
$url = 'http://www.commonlii.org/cgi-bin/sinosrch.cgi?query=a;results=20;submit=Search;rank=on;callback=on;method=auto;meta=%2Fcommonlii;lii=CommonLII&offset='.$page;
$html = file_get_html($url);
echo $html;
foreach($html->find("//*[@id='view']/ol")as $element)
{
echo $element;
}

}

//
// // Read in a page
Expand Down

0 comments on commit 7f2f2f0

Please sign in to comment.