Skip to content

Scraper tool for gathering product information from the Sainsbury's website.

Notifications You must be signed in to change notification settings

saley89/sainsburys-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sainsbury's Scraper

Scraper is a small command line/console utility. It is used for retrieving information from the Sainsbury's website about products and displaying the information to the user in the console output.

Dependencies

Scraper utility assumes the following dependencies installed on the system.

  • Java 1.8 JDK

Build/Test

Scraper uses Gradle to control its build and test process. It follows the standard tasks provided by many Gradle projects such as:

Build the JAR. Scraper utilises the ShadowJar plugin to build a "fat" JAR containing all the dependencies required to run the application.

$ ./gradlew clean shadowJar

Run tests

$ ./gradlew clean check

Run

Execute the application

java -jar build/libs/scraper-1.0-all.jar

Scrape a different url

java -jar build/libs/scraper-1.0-all.jar --url http://some-url.com

View all parameters

java -jar build/libs/scraper-1.0-all.jar --help

About

Scraper tool for gathering product information from the Sainsbury's website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published