v2024.11.08 (2)
This commit is contained in:
parent
d97ea22fc1
commit
5927dc9054
2 changed files with 6 additions and 7 deletions
12
hosts/nippy.sh
Executable file → Normal file
12
hosts/nippy.sh
Executable file → Normal file
|
|
@ -1,6 +1,6 @@
|
|||
#! Name: nippy.sh
|
||||
#! Author: kittykat
|
||||
#! Version: 2024.10.21
|
||||
#! Version: 2024.11.28
|
||||
#! Desc: Add support for downloading and processing of urls for a new host
|
||||
#! Usage: Copy this file into the ./${ScriptDir}/hosts/ folder
|
||||
#!
|
||||
|
|
@ -85,7 +85,7 @@ nippy_FetchFileInfo() {
|
|||
elif grep -Eqi "nippyshare.me" <<< "$remote_url"; then
|
||||
nippyhost="nippyshare.me"
|
||||
elif grep -Eqi "nippydrive.com" <<< "$remote_url"; then
|
||||
nippyhost="nippyshare.com"
|
||||
nippyhost="nippydrive.com"
|
||||
elif grep -Eqi "nippybox.com" <<< "$remote_url"; then
|
||||
nippyhost="nippybox.com"
|
||||
elif grep -Eqi "nippyfile.com" <<< "$remote_url"; then
|
||||
|
|
@ -103,9 +103,7 @@ nippy_FetchFileInfo() {
|
|||
elif grep -Eqi "dbree.org" <<< "$remote_url"; then
|
||||
nippyhost="dbree.me"
|
||||
fi
|
||||
if grep -Eqi "nippydrive.com" <<< "$remote_url"; then
|
||||
fixed_url=${remote_url/nippydrive.com/nippyshare.com}
|
||||
elif grep -Eqi "dbree.org" <<< "$remote_url"; then
|
||||
if grep -Eqi "dbree.org" <<< "$remote_url"; then
|
||||
fixed_url=${remote_url/dbree.org/dbree.me}
|
||||
else
|
||||
fixed_url=${remote_url}
|
||||
|
|
@ -120,7 +118,7 @@ nippy_FetchFileInfo() {
|
|||
trap "rm -f ${WorkDir}/.flocks/${CLEANSTRING}; rm -f ${nippy_cookie_jar}; echo ""; tput cnorm; exit" 0 1 2 3 6 15
|
||||
response=$(tor_curl_request --insecure -L -s -b "${nippy_cookie_jar}" -c "${nippy_cookie_jar}" "$fixed_url")
|
||||
if [ "${DebugAllEnabled}" == "true" ] ; then
|
||||
debugHtml "${remote_url##*/}" "nippy_dwnpage$i" "${response}"
|
||||
debugHtml "${remote_url##*/}" "nippy_dwnpage$i" "fixed_url: ${fixed_url}"$'\n'"${response}"
|
||||
fi
|
||||
if [[ -z $response ]] ; then
|
||||
rm -f "${nippy_cookie_jar}";
|
||||
|
|
@ -144,7 +142,7 @@ nippy_FetchFileInfo() {
|
|||
removedDownload "${remote_url}"
|
||||
return 1
|
||||
fi
|
||||
if grep -Eqi "Download is temporarily unavailable|Please try back later" <<< "$response"; then
|
||||
if grep -Eqi "is temporarily unavailable|Please try back later" <<< "$response"; then
|
||||
rm -f "${nippy_cookie_jar}";
|
||||
if ((i == maxfetchretries)) ; then
|
||||
printf "\\n"
|
||||
|
|
|
|||
1
mad.sh
1
mad.sh
|
|
@ -34,6 +34,7 @@
|
|||
ScriptVersion=2024.11.08
|
||||
#=================================================
|
||||
# Recent Additions
|
||||
# 2024.11.08 - [nippy] Fix nippydrive.com. Update detection of temporarily unavailable response.
|
||||
# 2024.11.08 - [up2share] Fix download url (https)
|
||||
# 2024.11.08 - [up2share] Fix advertised filesize on a redirection
|
||||
# 2024.11.06 - [SkipUrlsInDownloadsCompletedTxt] Fix blank url check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue