|
|
|
@ -208,6 +208,7 @@ public class Spider implements Runnable, Task {
|
|
|
|
|
* @see #addPipeline(us.codecraft.webmagic.pipeline.Pipeline)
|
|
|
|
|
* @deprecated
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
public Spider pipeline(Pipeline pipeline) {
|
|
|
|
|
return addPipeline(pipeline);
|
|
|
|
|
}
|
|
|
|
@ -258,6 +259,7 @@ public class Spider implements Runnable, Task {
|
|
|
|
|
* @see #setDownloader(us.codecraft.webmagic.downloader.Downloader)
|
|
|
|
|
* @deprecated
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
public Spider downloader(Downloader downloader) {
|
|
|
|
|
return setDownloader(downloader);
|
|
|
|
|
}
|
|
|
|
|