-
Scrapes a given web page for data.
-
Provides to console however many requested links found on webpage.
-
Provides to console the requested words, alphabetically, with how many times they appeared on webpage and their position therein.
-
Provides to console however many requested words in descending order according to their count on webpage.
- Download textRanking.java and textRanking.class
- Open command prompt.
- Windows: Press Windows+R to open “Run” box. Type “cmd” and then click “OK” to open a regular Command Prompt.
- Mac: Either open your Applications folder, then open Utilities and double-click on Terminal, or press Command-space to launch Spotlight and type "Terminal," then double-click the search result.
- Input to command line the downloaded java file path and run.
- Viola!