Skip to content

Commit

Permalink
Can we get just 30 days?
Browse files Browse the repository at this point in the history
  • Loading branch information
jamezpolley committed May 7, 2019
1 parent 65baa44 commit 1566591
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scraper.php
Expand Up @@ -20,6 +20,10 @@
$form->set('ctl00$MainBodyContent$mContinueButton', 'Next');
$page = $form->submit();

//Just the last 30 days, please
$form = $page->form();
$page = $form.doPostBack('ctl00$MainBodyContent$mGeneralEnquirySearchControl$mTabControl$tabControlMenu1'))

$page = $browser->get($da_url . "&PageNumber=1");
$dom = HtmlDom::fromString($page->html);

Expand Down

0 comments on commit 1566591

Please sign in to comment.