We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
有比较多的类提示找不到对应的方法,其中这一处 com.github.wycm.zhihu.service.receiver.ZhihuUserTaskReceiver @Override protected Runnable createNewTask(CrawlerMessage crawlerMessage) { ZhihuUserTask task = new ZhihuUserTask(crawlerMessage, zhihuComponent); task.setUrl(crawlerMessage.getUrl()); task.setCurrentRetryTimes(crawlerMessage.getCurrentRetryTimes()); task.setProxyFlag(true); return task; } 上面这个方法里,task对象里面根本没有setUrl方法,setCurrentRetryTimes 以及setProxyFlag都没有,不知道出了什么问题
@Override protected Runnable createNewTask(CrawlerMessage crawlerMessage) { ZhihuUserTask task = new ZhihuUserTask(crawlerMessage, zhihuComponent); task.setUrl(crawlerMessage.getUrl()); task.setCurrentRetryTimes(crawlerMessage.getCurrentRetryTimes()); task.setProxyFlag(true); return task; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
有比较多的类提示找不到对应的方法,其中这一处
com.github.wycm.zhihu.service.receiver.ZhihuUserTaskReceiver
@Override protected Runnable createNewTask(CrawlerMessage crawlerMessage) { ZhihuUserTask task = new ZhihuUserTask(crawlerMessage, zhihuComponent); task.setUrl(crawlerMessage.getUrl()); task.setCurrentRetryTimes(crawlerMessage.getCurrentRetryTimes()); task.setProxyFlag(true); return task; }
上面这个方法里,task对象里面根本没有setUrl方法,setCurrentRetryTimes 以及setProxyFlag都没有,不知道出了什么问题
The text was updated successfully, but these errors were encountered: