Package com.googlecode.flaxcrawler.download

Examples of com.googlecode.flaxcrawler.download.LoginDownloader.download()


        downloader.setLoginUrl("http://qiq.ru/?action=login");
        downloader.setPostData("login=lex9889&pass=qweasdzxc");
        downloader.setProxyController(proxyController);
        downloader.setTriesCount(3);

        Page page = downloader.download(new URL("http://qiq.ru/"));
        assertNotNull(page);

        System.out.println("Response time: " + page.getResponseTime());
        System.out.println("Content length: " + page.getContent().length);
        System.out.println("Response code: " + page.getResponseCode());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.