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.
Experimental code in shell.
-
Write the list of web pages in the "list_webpages.txt" file.
-
Write the list of words to look for in the "list_keywords.txt" file.
-
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
- the web pages to visit
- reg_nb_words.txt: the number of key words found per web pages
- log.txt: the downloaded web pages