this work only through browser:
if (!preg_match('#<a href="(?<url>[^"]*)" class="prevNext">next ></a></strong>#', $page, $match)) break;
this work and on cron too:
if (!preg_match('#<a href="([^"]*)" class="prevNext">next ></a></strong>#', $page, $match)) break;