2、將downloader關聯到gecco上,@Gecco增加downloader和timeout選項
@Gecco(matchUrl="https://github.com/{user}/{project}", pipelines="consolePipeline", downloader="httpClientDownloader", timeout=1000)
每個@Gecco都能單獨配置downloader,這樣htmlUnitDownloader和httpClientDownlaoder可以靈活配置不再侷限於一個GeccoEngine配置一個downloader。
如果您還不瞭解gecco框架請移步:https://github.com/xtuhcy/gecco