Spider trap
A spider trap (or crawler trap) is a set of web pages that may intentionally or unintentionally be used to cause a web crawler or search bot to make an infinite number of requests or cause a poorly constructed crawler to crash.[src] Web crawlers are also called web spiders, from which the name is derived.[src] Spider traps may be created to "catch" spambots or other crawlers that waste a website's bandwidth.[src] They may also be created unintentionally by calendars that use dynamic pages with links that continually point to the next day or year.[src] Common techniques used include: * Creation of indefinitely deep directory structures such as http://example.com/abc/def/abc/def/abc/def/abc/ ...[src] * Dynamic pages that produce an unbounded number of documents for a web crawler to follow.[src] Examples include calendars and algorithmically generated language poetry.[src] * Documents filled with many characters, crashing the lexical analyzer parsing the document.[src] * Documents with session-id's based on required cookies.[src] There exists no universal algorithm capable of detecting all spider traps.[src] While certain categories of traps can be identified through automated methods, novel and previously unrecognized traps continue to emerge rapidly.[src]
A spider trap (or crawler trap) is a set of web pages that may intentionally or unintentionally be used to cause a web crawler or search bot to make an infinite number of requests or cause a poorly constructed crawler to crash.[src] Web crawlers are also called web spiders, from which the name is derived.[src] Spider traps may be created to "catch" spambots or other crawlers that waste a website's bandwidth.[src] They may also be created unintentionally by calendars that use dynamic pages with links that continually point to the next day or year.[src] Common techniques used include: Creation of indefinitely deep directory structures such as http://example.com/abc/def/abc/def/abc/def/abc/ ...[src] Dynamic pages that produce an unbounded number of documents for a web crawler to follow.[src] Examples include calendars and algorithmically generated language poetry.[src] Documents filled with many characters, crashing the lexical analyzer parsing the document.[src] Documents with session-id's based on required cookies.[src] There exists no universal algorithm capable of detecting all spider traps.[src] While certain categories of traps can be identified through automated methods, novel and previously unrecognized traps continue to emerge rapidly.[src] ==Politeness== A spider trap causes a web crawler to enter something like an infinite loop, which wastes the spider's resources, lowers its productivity, and, in the case of a poorly written crawler, can crash the program.[src] Polite spiders alternate requests between different hosts, and do not request documents from the same server more than once every several seconds, meaning that a "polite" web crawler is affected to a much lesser degree than an "impolite" crawler.[src] In addition, sites with spider traps usually have a robots.txt telling bots not to go to the trap, so a legitimate "polite" bot would not fall into the trap, whereas an "impolite" bot which disregards the robots.txt settings would be affected by the trap.[src] ==See also== Robots exclusion standard Web crawler ==References==[src]
26 sentences · 26 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Spider trap." encyclopegia.org, 2025, https://encyclopegia.org/wiki/spider-trap. Accessed 03 December 2026.
Chicago
"Spider trap." encyclopegia.org. Accessed December 3, 2026. https://encyclopegia.org/wiki/spider-trap.
APA
encyclopegia.org. (2025). Spider trap. Retrieved December 3, 2026, from https://encyclopegia.org/wiki/spider-trap
Accessed December 3, 2026 · CC BY-SA 4.0 · citation page · JSON