Home

Awesome

Mechanize

Mechanize for Scala is a programmable web robot, useful for testing and scraping websites. It understands both the HTTP protocol and HTML, thanks to Apache HttpClient and the Validator.nu HTML Parser.

Building

There are no prebuilt jars available at this time. To build it yourself you have to use sbt (highly recommended!)

sbt update publish-local

and add the following dependency to your project:

"org.smop" %% "mechanize" % "0.1-SNAPSHOT"

Contact

The project is currently hosted at GitHub and the usual github tools can be used to communicate with the author. Other means of contact include Twitter @BartSchuller and email mechanize@smop.org.

License

The org.smop mechanize library is published under the Simplified BSD License:

Copyright © 2011, Bart Schuller
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.