Template for ZennoPoster that checks reference ranging in Yandex
A little bit about how a pattern - in the main folder has 3 text files:
keywords.txt - it is necessary to copy verifiable key phrases (remember that ZennoPoster only works with UTF-8 encoding);
itog.txt - this file will be the outcome of the 3 possible options: "referential work", "the reference is not working", "could not be verified." For options 1 and 2 also indicate a URL on the basis of which concluded the work / ne_rabochem reference, to be able to double-check his hands;
config.txt - input settings: how to look at the search results pages (the more, the higher the probability to find a URL with NPCs, but the longer the test); look how many regions (After all of the pages in the same region, a pattern begins to look in the other); separately for the cut-off date indicated bystrobotnoy impurities.
How exactly does the pattern:
Take the phrase from the list keywords.txt;
The phrase is converted from [word1 word2 word3] in [! Word1 / +1! Word2 / +1! Word3];
Checking a regional issue for [! Word1 / +1! Word2 / +1! Word3 << error];
If the above request on 1 page NPS´ov not, then look for the issuance of a regional [! Word1 / +1! Word2 / +1! Word3] - number of scanned pages taken from sickle settings config.txt;
If the pattern was all of the settings page, and the result from the NPC was not found, then the region is changing and everything is done the same thing;
If the result from the NPC found, the URL is checked for cached copy;
If a saved copy is, the check is performed in the Moscow region, the result is written to the file itog.txt
Among the peculiarities of use - are advised to check the requests geozavisimost since geonezavisimye queries do not need to drive to several regions, for them it is more expedient to set the maximum depth and 1 checked region. To work with the CAPTCHA used antigeyt.