public interface Downloader
setThread(int)method because downloader is always the bottleneck of a crawler, there are always some mechanisms such as pooling in downloader, and pool size is related to thread numbers.
void setThread(int threadNum)
threadNum- number of threads
Copyright © 2017. All rights reserved.