Basic web crawler Spring Boot app.
For building and running the application you need:
There are several ways to run a Spring Boot application on your local machine. One way is to execute the main
method in the com.mukesh.webcrawler
class from your IDE.
Alternatively you can use the Spring Boot Maven plugin like so:
mvn spring-boot:run
To crawl your website use this location
http://localhost:8080/crawl?site=<SITE_NAME>
-
List all the links on given site and does not visit sub-domain links
-
List all only the Images media types
-
Does not lists any imports links
- Links available on site could be arranged more elegantly by following site depth
- Asynchronous calls could be used to visit all inner links