Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 796 Bytes

File metadata and controls

29 lines (23 loc) · 796 Bytes

SearchNewJobAdverts

This script retrieves the number of key words (listed in list_keywords.txt) per web pages (= per lines in list_webpages.txt),
compares the result with the previous one (reg_nb_words.txt)
informs the user about new information based on key words.

Motivations

Experimental code in shell.

Instructions

  1. Write the list of web pages in the "list_webpages.txt" file.

  2. Write the list of words to look for in the "list_keywords.txt" file.

  3. Run the script:

$ ./search_new_job_adverts.sh

Or:

(-v) verbose mode to see the web pages content with the found words

$ ./search_new_job_adverts.sh -v

Outputs

  • the web pages to visit
  • reg_nb_words.txt: the number of key words found per web pages
  • log.txt: the downloaded web pages