There is a measurement that says the scraping scripts only follow a part of the exclusion rules, where is the difference in the ratio
There is a measurement that says the crawling script only picks out a part of the exclusion rules to comply with, where is the difference in proportion, the answer is not the type of script but the type of instruction. A measurement covering thirty-six institutional sites, forty days of traffic, and about one hundred and thirty self-reported identity crawling scripts shows the difference: the compliance rate of crawling frequency instructions is about 60.9%, precise path prohibition is about 31%, and whole segment prohibition is about 30.7%. That is to say, the closer to the rule of 'Please come less often', the easier it is to listen, and the closer to the rule of 'Not allowed in here', the easier it is to ignore.
What do these numbers measure?
The research subject is the crawling script that self-identifies at these sites, the judgment method is to see if its subsequent requests fall within the rules it claims to comply with. This type of measurement can only cover those programs that are willing to self-identify, anonymous or disguised sources are not included, so the numbers should be read as behavioral tendencies and not as conclusions for the entire site. The sample spans thirty-six institutional sites and a time span of forty days, which is more informative than a single packet capture about the differences brought by rule types.
How much difference is there in the compliance rates of different instruction types?
Frequency instructions are the highest, about 60.9%. The content of these rules is 'The minimum interval between two requests', the script does not need to abandon any data, the cost is just a bit slower, so the threshold is low. The whole segment prohibition and exact path prohibition are significantly lower, respectively about 30.7% and 31%. These two types require the script to abandon a whole piece of content, the benefits and costs are not equal, and it is easier to ignore when there is no binding agreement.
| Instruction type | What does the script have to pay for | The compliance rate measured | What should the site take it as |
|---|---|---|---|
| Crawl frequency control | Lengthen the request interval, take the data as usual | About 60.9% | Has certain constraints, suitable for gripping pressure |
| Prohibition of precise path | Abandon a section of content | About 31% | Agreement is the main one, cannot be used as access control |
| Prohibition of the whole section | Abandon the entire site | About 30.7% | The most easily overlooked category |
Why the ratio of re-reading is more important
The same measurement also gives a number that is easily overlooked: less than 40% of scripts will re-read this exclusion file within 168 hours. The meaning is that after the rules change, the old rules continue to take effect on a large number of scripts. The station tightened a restriction today, hoping for the entire network to take effect within a week is not realistic; on the other hand, a miswritten exclusion can cause the crawling to be interrupted, and recovery will not happen immediately. The observation window before and after the change must be extended.
Why is it not feasible to use the exclusion file as a single means?
The protocol itself positions this set of rules as a crawling agreement, rather than an access authorization. This set of compliance data quantifies its actual effect: a gap of about 30% to about 60%, all within the same document. If you really want to limit the content that is taken away, you need to add other layers. AnQiCMS provides a robots configuration entry within the site, responsible for expressing the crawling intent; the anti-crawling interference code is responsible for adding interference when the page is output, making the正文 of the batch collected distorted; the background and user group permissions are responsible for blocking the entry that should not be publicly disclosed. Each layer has its own applicable scope, and missing a layer will leave a gap.
Review the three steps when checking the crawling log
Step one: Separate the reported sources and anonymous requests for separate statistics, so that the compliance of the reported batch can be compared with this group of proportions. Step two: Observe the types: Which paths are frequently requested despite being ignored by exclusion rules, and whether the frequency rules have really widened the intervals. Step three: Observe the time: After a rule change, when does the change in the number of requests appear, and use this to judge the actual rhythm of re-reading. After completing these three steps, decide whether to add rules or change layers - in most cases, the paths that are repeatedly ignored need permission control, not just more lines of exclusion entries.
Common questions
Ask: Does a high compliance rate mean that this layer of protection is effective? Answer: It only means that the part that complies is voluntary, and the object is a low-cost rule like frequency class. High compliance rate does not equal data security.
Ask: Since the entire ban is easy to bypass, should it still be written? Answer: Yes, it will still block the voluntary complying parties, and the cost is the lowest. It's just that it can't be written alone.
Ask: If the effect of changing the rules is not seen for a long time, does it mean that the configuration has not taken effect? Answer: First, confirm that the server is returning the new version, and then consider the time difference for re-reading - most scripts will not come back to re-read within one hundred and sixty-eight hours.