Как найти свободные домены с ТИЦ
Posted by: admin in Uncategorized, tags: Denwer, домен, ТИЦ, ЯндексСегодня я расскажу вам о том, как можно получить бесплатно (ну или почти бесплатно) домены с ТИЦ.
Некоторое время назад, от нечего делать, я решил покопать тему по созданию сателлитов не прокачивая их с помощью покупных ссылок, прогона по каталогам и прочего…
Суть в том, чтобы заливать готовый сателлит на уже “прокаченный” домен. Но где их взять? На самом деле, каждый день очень много доменов не продлевают или забывают продлить, и есть большие шансы перерегистрировать их по быстрому на свое имя.
Исходя из этого я написал на ПХП небольшой скрипт, который парсит уже освободившиеся домены с ТИЦом из сервиса “expire.ru-monitor.ru”, затем проверят не являются ли они зеркалом другого домена и напоследок проверят свободен ли домен в данный момент через сервис whois на сайте mchost.ru.
Вот, собственно, сам скрипт:
<?php
set_time_limit(0);
$links = array();
$content = file_get_contents("http://expire.ru-monitor.ru/archive.html?sortby=yandex_tic&a=1");
if (!$content) continue;
if (preg_match('@<b>Страницы:</b>.*?<a href="(.*?)</a>.*?</td></tr>@is', $content, $matches)) {
if (preg_match_all('@<a href="\?sortby=yandex_tic&page=(.*?)"@is', $matches[0], $link)) {
$maxpage=$link[1][count($link[1])-1];
}
}
for ($j=1; $j<=$maxpage; $j++) $links[]="http://expire.ru-monitor.ru/archive.html?sortby=yandex_tic&page=".$j;
for ($j=0; $j<count($links); $j++){
$content = file_get_contents($links[$j]);
if (!$content) continue;
if (preg_match_all('@<td class="table-domain" nowrap><a href="(.*?)".*?http:\/\/search.yaca.yandex.ru.*?">(.*?)</a></td>@is', $content, $matches)) {
$rawdomain=$matches[1];
$domaintic=$matches[2];
$domaintic[$i]=trim($domaintic[$i]);
for ($i=0; $i<count($rawdomain); $i++) {
$rawdomain[$i]="http://expire.ru-monitor.ru/".preg_replace('@\/(.*?)\/@is', '', $rawdomain[$i]);
$content = file_get_contents($rawdomain[$i]);
if (!$content) continue;
if (preg_match_all('@Домен является зеркалом\?</a></td><td class="table-domain">.*?class="table-domain">(.*?)</a></td>@is', $content, $matches)) {
if ($matches[1][1]=="Нет") $domain[]=preg_replace('@http:(.*?)domain=@is', '', $rawdomain[$i]).";".$domaintic[$i];
if ($domaintic[$i]=="0") { $j=count($links); $i=count($rawdomain); }
}
}
}
}
for ($j=0; $j<(count($domain)-1); $j++){
$param=explode(';', $domain[$j]);
$host="www.mchost.ru";
$port="80";
$path="/whois/";
$data = "domainName=".$param[0]."&Submit=%CF%F0%EE%E2%E5%F0%E8%F2%FC";
$packet="POST ".$path." HTTP/1.0\r\n";
$packet.="Host: ".$host."\r\n";
$packet.="Content-Length: ".strlen($data)."\r\n";
$packet.="Referer: http://".$host.$path."\r\n";
$packet.="Content-Type: application/x-www-form-urlencoded\r\n";
$packet.="Connection: keep-alive\r\n";
$packet.="Cache-Control: no-cache\r\n\r\n";
$packet.=$data."\r\n\r\n";
$ock=fsockopen(gethostbyname($host),$port);
fputs($ock,$packet);
$html='';
while (!feof($ock))
{
$html.=fgets($ock);
}
fclose($ock);
if (preg_match('@<font color="#FF0000" size="3"><strong>(.*?)</strong></font>@is', $html, $domaincheck)) {
if($domaincheck[1]==("Домен ".$param[0]." свободен!")) print_r("Домен - <b>".$param[0]."</b> - Yandex ТИЦ - <b>".$param[1]."</b> - Свободен!<br>");;
}
}
?>
Лучше всего запускать его на локальной машине из под денвера.
На выходе вы получите список свободных доменов с ТИЦом от 10. Вот пример того что вы увидите:

Но помните, что методов проверки на забаненость яндексом доменов, которые не стоят на хостинге, нет.
Завтра выложу скрипт для поиска доменов с гугл ПР от 1
Entries (RSS)
8473 - November 17th, 2009 at 20:31:
Скрипт не работает, пустая страница
8474 - November 17th, 2009 at 22:04:
Работает. Если страница пустая, то значит, что в данное время нет свободных доменов с ТИЦ от 10.
Попробуй запускать рано утром – часов в 5-7.
Если возникнут какие-либо проблемы – стучи в аську: я там быстрее отвечу
8496 - December 17th, 2009 at 18:16:
Большое спасибо админу что не пожалел для честных seoшников такой скрипт)))
Я бы не стал такое выкладывать потому что жадный)))) шучу))) попробовал утром скрипт нашел 2 свободных)))
8559 - March 27th, 2010 at 22:13:
Чувак твой скрипт врет!!!
Нашел 3 домена якобы с тиц 10, а Яшка говорит что 0
8571 - April 5th, 2010 at 07:04:
Чувак! Если бы ты читал внимательнее, то заметил что скрипт работает с базой доменов сайта ru-monitor. Поэтому если скрипт выловил что-то с тиц 10, это говорит лишь о том, что в их базе он числится, как домен с тиц 10.
8582 - April 18th, 2010 at 19:20:
Чет на denvere не хочет работать ,выдает кучу ошибок((
8583 - April 18th, 2010 at 19:21:
otice: Undefined variable: i in T:\home\users\test\index.php on line 18
Notice: Undefined index: in T:\home\users\test\index.php on line 18
Notice: Undefined variable: i in T:\home\users\test\index.php on line 18
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Этот хост неизвестен. in T:\home\users\test\index.php on line 21
Warning: file_get_contents(http://expire.ru-monitor.ru/domain.html?domain=7piadei.ru) [function.file-get-contents]: failed to open stream: No error in T:\home\users\test\index.php on line 21
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Этот хост неизвестен. in T:\home\users\test\index.php on line 21
Warning: file_get_contents(http://expire.ru-monitor.ru/domain.html?domain=activemindpromo.ru) [function.file-get-contents]: failed to open stream: No error in T:\home\users\test\index.php on line 21
Notice: Undefined offset: 20 in T:\home\users\test\index.php on line 18
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Этот хост неизвестен. in T:\home\users\test\index.php on line 21
Warning: file_get_contents(http://expire.ru-monitor.ru/domain.html?domain=apexjuris.ru) [function.file-get-contents]: failed to open stream: No error in T:\home\users\test\index.php on line 21
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Этот хост неизвестен. in T:\home\users\test\index.php on line 21
Warning: file_get_contents(http://expire.ru-monitor.ru/domain.html?domain=askdaily.ru) [function.file-get-contents]: failed to open stream: No error in T:\home\users\test\index.php on line 21
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Этот хост неизвестен. in T:\home\users\test\index.php on line 21
Warning: file_get_contents(http://expire.ru-monitor.ru/domain.html?domain=audioversia.ru) [function.file-get-contents]: failed to open stream: No error in T:\home\users\test\index.php on line 21
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Этот хост неизвестен. in T:\home\users\test\index.php on line 21
Warning: file_get_contents(http://expire.ru-monitor.ru/domain.html?domain=beausom.ru) [function.file-get-contents]: failed to open stream: No error in T:\home\users\test\index.php on line 21
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Этот хост неизвестен. in T:\home\users\test\index.php on line 21
Warning: file_get_contents(http://expire.ru-monitor.ru/domain.html?domain=korsol.ru) [function.file-get-contents]: failed to open stream: No error in T:\home\users\test\index.php on line 21
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Этот хост неизвестен. in T:\home\users\test\index.php on line 21
Warning: file_get_contents(http://expire.ru-monitor.ru/domain.html?domain=achtigde.ru) [function.file-get-contents]: failed to open stream: No error in T:\home\users\test\index.php on line 21
Notice: Undefined offset: 20 in T:\home\users\test\index.php on line 18
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Этот хост неизвестен. in T:\home\users\test\index.php on line 21
Warning: file_get_contents(http://expire.ru-monitor.ru/domain.html?domain=78922.ru) [function.file-get-contents]: failed to open stream: No error in T:\home\users\test\index.php on line 21
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Этот хост неизвестен. in T:\home\users\test\index.php on line 21
Warning: file_get_contents(http://expire.ru-monitor.ru/domain.html?domain=cometa-med.ru) [function.file-get-contents]: failed to open stream: No error in T:\home\users\test\index.php on line 21
Notice: Undefined offset: 20 in T:\home\users\test\index.php on line 18
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Этот хост неизвестен. in T:\home\users\test\index.php on line 21
Warning: file_get_contents(http://expire.ru-monitor.ru/domain.html?domain=symfony-forge.ru) [function.file-get-contents]: failed to open stream: No error in T:\home\users\test\index.php on line 21
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Этот хост неизвестен. in T:\home\users\test\index.php on line 21
Warning: file_get_contents(http://expire.ru-monitor.ru/domain.html?domain=tokina-club.ru) [function.file-get-contents]: failed to open stream: No error in T:\home\users\test\index.php on line 21
Notice: Undefined offset: 20 in T:\home\users\test\index.php on line 18
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Этот хост неизвестен. in T:\home\users\test\index.php on line 21
Warning: file_get_contents(http://expire.ru-monitor.ru/domain.html?domain=autoclub-saratov.ru) [function.file-get-contents]: failed to open stream: No error in T:\home\users\test\index.php on line 21
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Этот хост неизвестен. in T:\home\users\test\index.php on line 21
8584 - April 18th, 2010 at 20:10:
Эти сообщения говорят о том, что сайт expire.ru-monitor.ru в данный момент не работает
8586 - April 19th, 2010 at 11:25:
Спасибо сегодня заработало
8587 - April 19th, 2010 at 11:27:
Может чет не правильно сделал но на хостинге и на denvere вот такая ерунда получается
Warning: file_get_contents(http://expire.ru-monitor.ru/archive.html?sortby=google_pr&a=1) [function.file-get-contents]: failed to open stream: HTTP request failed! in T:\home\users\test\index.php on line 4
Fatal error: Cannot break/continue 1 level in T:\home\users\test\index.php on line 5
8588 - April 19th, 2010 at 11:47:
Не за что
8589 - April 19th, 2010 at 11:51:
Женёк, вообще-то это скрипт для поиска доменов с ПР.
А ошибка из-за того, что сайт expire.ru-monitor.ru периодически перегружен запросами. Я об этом уже говорил неоднократно. Попробуйте запустить скрипт позже.