public interface IRobotsTxtProvider
Modifier and Type | Method and Description |
---|---|
RobotsTxt |
getRobotsTxt(org.apache.http.client.HttpClient httpClient,
String url,
String userAgent)
Gets robots.txt rules.
|
RobotsTxt getRobotsTxt(org.apache.http.client.HttpClient httpClient, String url, String userAgent)
httpClient
- the http client to grab robots.txturl
- the URL to derive the robots.txt fromuserAgent
- the User-Agent to match ourselves with the robot rulesCopyright © 2009–2021 Norconex Inc.. All rights reserved.