| 程序包 | 说明 |
|---|---|
| us.codecraft.webmagic |
Main class "Spider" and models.
|
| us.codecraft.webmagic.downloader |
Downloader is the part that downloads web pages and store in Page object.
|
| us.codecraft.webmagic.proxy |
| 限定符和类型 | 方法和说明 |
|---|---|
Proxy |
Site.getHttpProxyFromPool() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.http.impl.client.CloseableHttpClient |
HttpClientGenerator.getClient(Site site,
Proxy proxy) |
| 限定符和类型 | 方法和说明 |
|---|---|
Proxy |
SimpleProxyPool.getProxy() |
Proxy |
ProxyPool.getProxy() |
Copyright © 2017. All rights reserved.