updated user-agent
This commit is contained in:
parent
d8ef89467b
commit
ecc3eb230e
@ -376,7 +376,7 @@ ${BIN_WGET} --recursive \
|
|||||||
--timeout=10 \
|
--timeout=10 \
|
||||||
--execute robots=off \
|
--execute robots=off \
|
||||||
--directory-prefix=${DIRECTORY} \
|
--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} \
|
${WGET_OUTPUT} \
|
||||||
"${URL}" 2>&1 | ${BIN_TEE} -a "${WGET_LOGFILE}"
|
"${URL}" 2>&1 | ${BIN_TEE} -a "${WGET_LOGFILE}"
|
||||||
|
|
||||||
@ -456,9 +456,9 @@ if [ -n "${REGEXP}" ] ; then
|
|||||||
${ECHO_FUNC} "Processing text search...\n\n"
|
${ECHO_FUNC} "Processing text search...\n\n"
|
||||||
|
|
||||||
readonly HITS="$( ${BIN_GREP} --recursive \
|
readonly HITS="$( ${BIN_GREP} --recursive \
|
||||||
--files-with-matches \
|
--files-with-matches \
|
||||||
${GREP_MODE} "${REGEXP}" \
|
${GREP_MODE} "${REGEXP}" \
|
||||||
"${DIRECTORY}/${SUBDIR}" )"
|
"${DIRECTORY}/${SUBDIR}" )"
|
||||||
|
|
||||||
if [ -n "${HITS}" ] ; then
|
if [ -n "${HITS}" ] ; then
|
||||||
OLDIFS=$IFS
|
OLDIFS=$IFS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user