A micro-service for extract main content from url.
-
Package
$ mvn clean package
-
Run
$ java -jar target/smart-extractor.jar $ open http://localhost:8080
-
Extract
http://localhost:8080/extract?url={url}
$ curl -i -X GET http://localhost:8080/extract\?url\=https://medium.com/@benjaminhardy/8-things-every-person-should-do-before-8-a-m-cc0233e15c8d
$ mvn clean package
$ mvn package docker:build