Update scraper.php

added print check