Package us.codecraft.webmagic.downloader.selenium

Examples of us.codecraft.webmagic.downloader.selenium.SeleniumDownloader


    }

    public static void main(String[] args) {
        Spider.create(new HuabanProcessor()).thread(5)
                .addPipeline(new FilePipeline("/data/webmagic/test/"))
                .setDownloader(new SeleniumDownloader("/Users/yihua/Downloads/chromedriver"))
                .addUrl("http://huaban.com/")
                .runAsync();
    }
View Full Code Here

TOP

Related Classes of us.codecraft.webmagic.downloader.selenium.SeleniumDownloader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.