Skip to content

mladenbolic/akka-website-crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Akka Crawler

Application for crawling web sites and Application for crawling web sites and saving to disk online file structure.

NOTE: Please use different url than the one specified in code. This one is just for illustration purposes.

Getting Started

These instructions will explain you how to get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

In order to build the project you need to have Java 1.8+ installed on your machine.

To check if Java is already installed on your machine, open the terminal window and run the following command:

java --version

Running Application

It is assumed that you've opened your terminal window and navigated to the directory of this document.

In order to run the application, you can execute the gradle run task with specified command line arguments --args. This command will compile the application and start the main class.

./gradlew run --args="an url"

Running Tests

./gradlew clean test

Examples

We should pass 1 argument when running the application and it should be the url of a web site we want to crawl.

  • Crawl web site from specified url:

    Command:

      ./gradlew run --args="http://www.burgerking.no/"
    

NOTE: Following url is used only as an example. Specify different url when running the application.

Built With

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages