1
0

ajout stats nyuu live

This commit is contained in:
unfr 2025-08-10 11:31:51 +02:00
parent 69aef9fb9f
commit abc64501e2

View File

@ -58,12 +58,18 @@ while true; do
{
echo -e "${VERT}UPLOAD SUR USENET${NORMAL}"
files=( ${FILESANSEXT}.* )
checkusenet
nyuu -h ${NG_HOST} -P ${NG_PORT} -S -u ${NG_USER} -p ${NG_PASS} -n ${NG_NBR_CONN} \
-g alt.binaries.boneless -o "${DOSSIER_NZB_ATTENTE}${FILESANSEXT}.nzb" \
--nzb-title "${FILESANSEXT}" -f "{rand(14)} {rand(14)}@{rand(5)}.{rand(3)}" \
--message-id "{rand(32)}@{rand(8)}.{rand(3)}" \
--subject "{rand(32)}" --nzb-subject "{filename}" --obfuscate-articles ${FILESANSEXT}.*
script -q -c \
"nyuu -h ${NG_HOST} -P ${NG_PORT} -S -u ${NG_USER} -p ${NG_PASS} -n ${NG_NBR_CONN} \
-g alt.binaries.boneless -o '${DOSSIER_NZB_ATTENTE}${FILESANSEXT}.nzb' \
--nzb-title '${FILESANSEXT}' \
-f '{rand(14)} {rand(14)}@{rand(5)}.{rand(3)}' \
--message-id '{rand(32)}@{rand(8)}.{rand(3)}' \
--subject '{rand(32)}' --nzb-subject '{filename}' \
--obfuscate-articles ${files[*]} \
--progress=stderr" \
/dev/null
if [ -e "${DOSSIER_NFO}${FILESANSEXT}.json" ] || [ -e "${DOSSIER_NFO}${FILESANSEXT}.txt" ]; then
echo -e "${JAUNE}VERIF DU NZB${NORMAL}"
@ -110,7 +116,7 @@ while true; do
else
echo -e "${ROUGE}ENVOI SUR LE SITE IMPOSSIBLE NFO MANQUANT${NORMAL}"
fi
} > >(tee -a "$LOG") 2>&1
} 2>&1 | tee -a "$LOG"
fi
else
echo -e "${ROUGE}PROBLEME DE PROPAGATION POST EN PAUSE${NORMAL}"