|
|
@@ -48,7 +48,7 @@ if [ -n "${TRANS_URL}" ] && echo "${URLS}" | head -n 1 | grep -Eqi '^magnet:'; t
|
|
|
fi
|
|
|
|
|
|
# Use NZBGet if the URL is an NZB file
|
|
|
-elif [ -n "${NZB_URL}" ] && echo "${URLS}" | head -n 1 | grep -Eqi '\/(getnzb\/|api\?t\=get\&id\=)'; then
|
|
|
+elif [ -n "${NZB_URL}" ] && echo "${URLS}" | head -n 1 | grep -Eqi '\/(getnzb\/|api\?t\=get\&)'; then
|
|
|
if curl -k --silent --max-time "${TIMEOUT}" "${NZB_URL}" | grep -q 'version'; then
|
|
|
IFS=$'\n'
|
|
|
SLEEP=0
|