How this tool computes its result
parseRobotsTxt splits pasted text into User-agent blocks, collecting each block's Allow/Disallow/Crawl-delay lines. testUrlAgainstRules finds the first rule whose user-agent matches the requested one (or falls back to "*"), then checks that rule's Allow paths first — if any Allow path matches (via `path.startsWith(allowPath.replace("*",""))`, or literally "/") it returns allowed immediately — and only checks Disallow paths if no Allow rule matched. If neither list matches, the URL is allowed by default.
