com.geccocrawler.gecco.spider.render.Render Maven / Gradle / Ivy
package com.geccocrawler.gecco.spider.render;
import com.geccocrawler.gecco.request.HttpRequest;
import com.geccocrawler.gecco.response.HttpResponse;
import com.geccocrawler.gecco.spider.SpiderBean;
/**
* 渲染器,将下载下来的各种格式内容对象化,并将需要继续抓取的链接抽取出来
*
* @author huchengyi
*
*/
public interface Render {
public SpiderBean inject(Class extends SpiderBean> clazz, HttpRequest request, HttpResponse response);
public void requests(HttpRequest request, SpiderBean bean);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy