Skip to content

qinq-ye/java-snatcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

java-snatcher

#java实现的网页抓取下载程序 //使用方式: public static void main(String[] args) { PropertyConfigurator.configure("config/log4j.properties"); SnatcherFactory factory = new SnatcherFactory(500, 3, "http://jsoup.org/apidocs/"); Snatcher snatcher = factory.createSnatcher();

	snatcher.setExceptionListener(new ExceptionListener() {

		@Override
		public void onException(Link url, SnatcherException e) {
			e.printStackTrace();
		}

	});
	
	snatcher.start();
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages