Multi-threaded crawlers in Java

Download library

The source code is under the folder sources, while the compiled classes are in folder classes. Generated documentation is in the doc folder. For viewing documentation open doc/index.html in a browser.

A sample code to run a couple of crawler algorithms is available as spider.crawl.Tester (see in appropriate folder under sources). Make sure that you edit the code to put your e-mail address within this class. The e-mail address will be used with each outgoing HTTP request.

There are parts of the code that intentionally slow down the crawlers. They are not without a purpose. The code respects the Robot Exclusion Protocol and spreads the crawling load over many remote Web servers. The code is under development.

To learn more about the design and details of the code you may read:

G. Pant, P. Srinivasan, F. Menczer: Crawling the Web. In M. Levene and A. Poulovassilis, eds.: Web Dynamics, Springer, 2004

This material is based upon work supported by the National Science Foundation under award N. IIS-0133124 and IIS-0348940 (PI: Filippo Menczer). Any opinions, findings, and conclusions or recommendations expressed in this material are thouse of the author(s) and do not necessarily reflect the views of the National Science Foundation.

Copyright (C) 2002-2004 Gautam Pant and The University of Iowa

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.