Package com.googlecode.flaxcrawler.proxy

Examples of com.googlecode.flaxcrawler.proxy.GrabbingProxyController


        urlsToGrab.add(new URL("http://www.xroxy.com/proxylist.htm"));
        urlsToGrab.add(new URL("http://www.xroxy.com/proxylist.php?pnum=1"));
        urlsToGrab.add(new URL("http://www.xroxy.com/proxylist.php?pnum=2"));
        urlsToGrab.add(new URL("http://www.xroxy.com/proxylist.php?pnum=3"));

        GrabbingProxyController proxyController = new GrabbingProxyController(urlsToGrab, new URL("http://ya.ru/"));
        assertTrue(proxyController.getProxies().size() > 0);
        System.out.println("Found " + proxyController.getProxies().size() + " alive proxies");
    }
View Full Code Here

TOP

Related Classes of com.googlecode.flaxcrawler.proxy.GrabbingProxyController

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.