From ecc3eb230e75ade4c8322e1d52b06e613e9d22e6 Mon Sep 17 00:00:00 2001 From: Patrick Neumann Date: Sun, 18 Nov 2018 19:35:18 +0100 Subject: [PATCH] updated user-agent --- web_site_monitor | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web_site_monitor b/web_site_monitor index 93ba95f..6728373 100644 --- a/web_site_monitor +++ b/web_site_monitor @@ -376,7 +376,7 @@ ${BIN_WGET} --recursive \ --timeout=10 \ --execute robots=off \ --directory-prefix=${DIRECTORY} \ - --user-agent='Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.1' \ + --user-agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0' \ ${WGET_OUTPUT} \ "${URL}" 2>&1 | ${BIN_TEE} -a "${WGET_LOGFILE}" @@ -456,9 +456,9 @@ if [ -n "${REGEXP}" ] ; then ${ECHO_FUNC} "Processing text search...\n\n" readonly HITS="$( ${BIN_GREP} --recursive \ - --files-with-matches \ - ${GREP_MODE} "${REGEXP}" \ - "${DIRECTORY}/${SUBDIR}" )" + --files-with-matches \ + ${GREP_MODE} "${REGEXP}" \ + "${DIRECTORY}/${SUBDIR}" )" if [ -n "${HITS}" ] ; then OLDIFS=$IFS