1. What are filters
Filters are a set of rules, applied to proxies before adding them into the base of the Proxy-checker after downloading them from the source.
Filters help us get rid of unnecessary proxies.
2. Types of filters
There are two types of filters:
1) Global filters
A filter that doesn't contain the "Labels" component, is a global filter. For example, one of these is the preinstalled filter "Basic filtration". This filter is applied to all the sources simultaneously.
2) Conditional filters
A filter that contains the "Labels" component, is a conditional filter. If the "Labels" component and a list of labels (M1; M2; ...) are added to any global filter, the filter becomes applicable only to those resources that have at least one of the mentioned labels.
3. How do filters work?
Filters work in two cases:
1. At the moment of downloading proxies from the source - proxies that don't meet filter requirements are rejected and don't pass to the common base of proxies.
Let's suppose A source has been assigned М label which has a global filter G and a conditional filter F(М), in this case all the proxies downloaded from A source will be checked for conformity to G filters (as it is global and applicable to all the sources) and F(М) (as A has an M label).
2. At the moment of assigning labels to sources - proxies that already are in the base (downloaded from these sources), are checked for their conformity to filters, associated with newly assigned labels and in case they don't meet the conditions they are deleted. This is the way the conformity of the sources with the filters is maintained.
Например, есть источник A и условный фильтр F(М). При назначении метки М для источника A, из базы будут удалены те прокси источника A, что не удовлетворяют фильтру F(М). For example, there is an A source and a conditional filter F(М). If М label is assigned for A source, those proxies of A source that do not correspond to F(М) filter will be deleted from the base.