Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 325 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 325 Bytes

JRobotX

Library to provide compliance with the Web Robot Exclusion protocol (robots.txt)

Usage

import com.trigonic.jrobotx.RobotExclusion;

// ...

RobotExclusion robotExclusion = new RobotExclusion();
if (robotExclusion.allows(url, userAgentString)) {
    // do something with url
}