<?php
require_once 'phpQuery/phpQuery-onefile.php';
$url = "http://www.splav-kharkov.com/main.php";
$response = file_get_contents($url);
$pq = phpQuery::newDocument($response);
$urls = $pq->find('a');
foreach ($urls as $url) {
$pq_url = pq($url);
$url = $pq_url->html();
echo $url.'<br />';
}
?>