Skip to content

VigaRudr/JsoupParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is it?

Jsoup Parser is a parser designed to analyze a webpage and manipulate it.

The Latest Version

Can be found in master branch of this project.

Current version: 1.1-SNAPSHOT

Documentation

\doc\AppComposition

Packaging

Packages a project using Maven

Create one jar file with dependencies inside using maven-shade-plugin in \target

Using Java 18

Using

!App will create ./database folder

execute - shaded.jar file using java with command and arguments (if necessary) Commands:

  • getKeywordCount(url, keyword) - Search [keyword] in [url] and return number of matches
  • savePage(url) - save webpage from [url] in the root folder
  • help - show list of avaible commands
  • aboutMe - show app info

to run any command write: java -jav .\JsoupParser-1.1-SNAPSHOT-shaded.jar command arguments

Commands (also can use help):

  • getKeywordCount(url, keyword) - Search [keyword] in [url] and return number of matches
  • savePage(url, path) - save webpage from [url] in the [path] folder (if folder not specified, saves in ./savedPages folder)
  • dbCreate(String columnNames, String values) - insert new record with [values] in [columnNames] in database
  • dbUpdate(String setParameter, String condition) - update value of [setParameter] ("columnName = setName") where [condition] in database
  • dbRead(String readParameter, String condition) - read [readParameter] from database (with [condition] if specified)
  • dbDelete(String condition) - delete rows with [condition] from database (or clear if [condition] not specified)
  • help - show list of avaible commands
  • aboutMe - show app info

Licensing

Author: Viga Rudr

Used:

Contacts

vigarudr.work@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages