crawlerConfiguration.setPolitenessPeriod(1000);
crawlerConfiguration.setMaxParallelRequests(1);
CrawlerController crawlerController = new CrawlerController(crawlerConfiguration);
crawlerController.addSeed(new URL("http://lenta.ru/"));
crawlerController.start();
crawlerController.join();
}
private class TestCrawler extends DefaultCrawler {
public TestCrawler() {