Skip to content

A basic crawler to get site map of website for give depth using Kotlin and Springboot

Notifications You must be signed in to change notification settings

mkshkmrgpt/WebCrawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web crawler

Basic web crawler Spring Boot app.

Requirements

For building and running the application you need:

Running the application locally

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>

Trade offs

  • 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

TODO Improvement

  • Links available on site could be arranged more elegantly by following site depth
  • Asynchronous calls could be used to visit all inner links

About

A basic crawler to get site map of website for give depth using Kotlin and Springboot

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages