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 29, 2017
1 parent 22b30e9 commit 31e40d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.php
Expand Up @@ -10,7 +10,7 @@
$text = str_replace(',', '', $loopnumberforpagintion);
$paginations = $text / 15 + 1;
$loop = (int)$paginations;
for($i = 1; $i <= 1; $i++)
for($i = 1; $i <= $loop; $i++)
{
$Newlink = 'http://182.180.72.189:8080/cfms-hc-search/cases/search-result?CasesSearch%5BCASENAMECODE%5D=&CasesSearch%5BCASENO%5D=&CasesSearch%5BCASEYEAR%5D=&CasesSearch%5BCIRCUITCODE%5D=&CasesSearch%5BMATTERCODE%5D=&CasesSearch%5BPARTY%5D=&CasesSearch%5BGOVT_AGENCY_CODE%5D=&CasesSearch%5BFIRNO%5D=&CasesSearch%5BFIRYEAR%5D=&CasesSearch%5BPOLICESTATIONCODE%5D=&CasesSearch%5BADVOCATECODE%5D=&CasesSearch%5BisPending%5D=3&page=' .$i. '&per-page=15';
echo "$Newlink\n";
Expand Down

0 comments on commit 31e40d4

Please sign in to comment.