public interface SeimiCrawler
| Modifier and Type | Method and Description |
|---|---|
String[] |
allowRules()
用于设置允许的请求URL匹配规则
|
String[] |
denyRules()
用于设置要放弃访问的请求URL匹配规则
|
org.apache.http.client.CookieStore |
getCookieStore()
如果开启cookies通过此方法获取cookiesStore
|
String |
getUserAgent() |
String |
proxy()
可以自定义返回随机的代理
|
void |
start(Response response)
针对startUrl生成首批的response回调这个初始接口
|
String[] |
startUrls()
设置起始url
|
String getUserAgent()
String proxy()
org.apache.http.client.CookieStore getCookieStore()
String[] startUrls()
String[] allowRules()
String[] denyRules()
void start(Response response)
response - Copyright © 2015. All Rights Reserved.