updated user-agent

This commit is contained in:
Patrick Neumann 2018-11-18 19:35:18 +01:00
parent d8ef89467b
commit ecc3eb230e

View File

@ -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