# 2024.11.18 - [up_fileditch / fileditch] Add fileditch.com as upload and download host
# 2024.11.17 - [innocent] Fix "Fetching file info". Support resume downloads. # 2024.11.16 - [mad] Fix reload on uploads.txt modified (uploads: filemode) # 2024.11.16 - [up_*] Fix removal of upload ticket if filesize is not supported # 2024.11.15 - [familleflender] Add famille-flender.fr as download host # 2024.11.15 - [up_familleflender] Add famille-flender.fr as upload host # 2024.11.15 - [up_filehaus] Finish the uploader (the server is back online)
This commit is contained in:
parent
d3d08d63f5
commit
fa83163a58
101 changed files with 1648 additions and 790 deletions
13
hosts/tempfileme.sh
Executable file → Normal file
13
hosts/tempfileme.sh
Executable file → Normal file
|
|
@ -1,6 +1,6 @@
|
|||
#! Name: tempfileme.sh
|
||||
#! Author: kittykat
|
||||
#! Version: 2024.10.12
|
||||
#! Version: 2024.11.15
|
||||
#! Desc: Add support for downloading and processing of urls for a new host
|
||||
#! Usage: Copy this file into the ./${ScriptDir}/hosts/ folder
|
||||
#!
|
||||
|
|
@ -116,14 +116,21 @@ tmpme_FetchFileInfo() {
|
|||
continue
|
||||
fi
|
||||
fi
|
||||
if grep -Eqi "File not found|File was removed|File was deleted|No such file" <<< "$response"; then
|
||||
if grep -Eqi 'File not found|File was removed|File was deleted|No such file' <<< "$response"; then
|
||||
printf "\\n"
|
||||
echo -e "${RED}| The file was not found. It could be deleted or expired.${NC}"
|
||||
exitDownloadError=true
|
||||
removedDownload "${remote_url}"
|
||||
return 1
|
||||
fi
|
||||
if grep -Eqi "503 Service Unavailable|No server is available to handle this request" <<< "$response"; then
|
||||
if grep -Eqi '403 Forbidden' <<< "$response"; then
|
||||
printf "\\n"
|
||||
echo -e "${RED}| 403 Forbidden by administrator${NC}"
|
||||
exitDownloadError=true
|
||||
removedDownload "${remote_url}"
|
||||
return 1
|
||||
fi
|
||||
if grep -Eqi '503 Service Unavailable|No server is available to handle this request' <<< "$response"; then
|
||||
if [ $j == $maxfetchretries ] ; then
|
||||
printf "\\n"
|
||||
echo -e "${RED}| 503 Service Unavailable (try again later)${NC}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue