ping_kisel.php 291 Bytes
<?php

include('kisel.conf.php');
include('KiselScrap.php');

$kisel = new KiselScrap();
$redis = new Redis();

$redis->connect($redis_url);
$kisel->setSessionId($redis->get($redis_prefix.'01.sessionid'));
$kisel->setRandomUserAgent();

# get welcome page
$kisel->get_page($welcome_url);
?>