2. Use WebMagic
WebMagic's core feature requires two jars:webmagic-core-{version}.jar and webmagic-extension-{version}.jar. Just add them to your classpath and you are good to go.
WebMagic uses Maven to manage its dependencies, but of cause you can use it without Maven.