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