Injecting configuration and compiling...
Injecting scraper and running...
scraper.rb:1: syntax error, unexpected '<'
<?php
^
scraper.rb:5: syntax error, unexpected $undefined
use PGuardiario\PGBrowser;
^
scraper.rb:6: syntax error, unexpected $undefined
use Sunra\PhpSimple\HtmlDomParser;
^
scraper.rb:12: syntax error, unexpected ':', expecting keyword_when
scraper.rb:15: syntax error, unexpected ':', expecting keyword_when
scraper.rb:18: syntax error, unexpected ':', expecting '}'
scraper.rb:22: syntax error, unexpected tGVAR, expecting '('
...t "Getting data for `" .$period. "`, changable via MORPH_PER...
... ^
scraper.rb:26: syntax error, unexpected tSTRING_BEG, expecting '('
$da_page = $url_base . "default.aspx?page=found&1=" ....
^
scraper.rb:26: syntax error, unexpected tGVAR, expecting '('
...lt.aspx?page=found&1=" .$period. "&4a=333,322,321,324,323,32...
... ^
scraper.rb:31: syntax error, unexpected ->, expecting end-of-input
$page = $browser->get($term_url);
^