Alive check?

player

Client
Регистрация
06.06.2011
Сообщения
154
Благодарностей
16
Баллы
0
Is it possible to do an alive check with Zennoposter and how can i do it? I'd like to check if the sites are alive before processing them and filter dead sites out like scrapebox can do it.

thx
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
831
Баллы
113
You can do it checking text presence. If there is an error like "error 404" means dead link or something.
 

player

Client
Регистрация
06.06.2011
Сообщения
154
Благодарностей
16
Баллы
0
Hmm ok, i know that, but it could be a blank page or another error message etc. I have another idea now: maybe i'll check some lists with the alive checker from scrapebox and try to reproduce the same with ZP.
 

shinigami

Client
Регистрация
01.05.2011
Сообщения
164
Благодарностей
91
Баллы
0

player

Client
Регистрация
06.06.2011
Сообщения
154
Благодарностей
16
Баллы
0
Hmm, i think it can be coded in c#. Something with webrequest and httprequest. I tried it in visual studio, but the sites were always alive even if they were down.
 

player

Client
Регистрация
06.06.2011
Сообщения
154
Благодарностей
16
Баллы
0
Finally i found a good solution:

If a site is down you have a "dnserror" in the url. So i set up a new branch with Get | Html element and the following settings:

Parameters name: Get page URL
parameters: dnserror

Then i create a new branch with a logic operation and search for "dnserror". My expression looks like this:

"{-FieldData.FieldData-|-●5●3●5●3●4●3●-|-≡2≡0≡7≡7≡1≡8≡4≡3≡7≡5≡-}"=="dnserror"

If it's true the site is down and i save it in a file with all 404 error sites.
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)