1

Fix for NNM-Club domain change

This commit is contained in:
Valdos Sine 2012-08-15 00:15:07 +04:00 committed by Vladimir Hodakov
parent 1c09b26b6f
commit 5ce62ae356

View File

@ -17,7 +17,7 @@ SUBFORUMSDL=0
wget_func () {
# Wget helper, which makes many wget usages more stable
# Usage wget_func [path_to_redirect] [anything (wget params, such as -O...)]
wget -t 99 --wait=1 --post-data="username=$USERNAME&password=$PASSWORD&autologin=on&login=%C2%F5%EE%E4&redirect=${1}" "http://nnm-club.ru/forum/login.php" ${2} -a $CURDIR/$LOG_FILE
wget -t 99 --wait=1 --post-data="username=$USERNAME&password=$PASSWORD&autologin=on&login=%C2%F5%EE%E4&redirect=${1}" "http://nnm-club.me/forum/login.php" ${2} -a $CURDIR/$LOG_FILE
if [[ $? -gt 0 ]] ; then
echo -ne "..ошибка загрузки, повтор.."
wget_func "${1}" "${2}"