# 2025.01.18 - [up_nantes] Update the post retention to "week" (host removed "month" option)
# 2025.01.18 - [mad] Updates to url_encode function and addition of conversion of utf8 to ascii function # 2025.01.17 - [ranoz] Servers response to resume changed, set as no resume type for now # 2025.01.17 - [uwabaki] Add download handling for uwabaki onion address urls # 2025.01.16 - [ranoz] Fix filenames with unicode chars in the download url # 2025.01.16 - [up_axfc] Move convert utf8 to ascii to mad function # 2025.01.16 - [up_uwabaki] Add uwabaki.party as upload host (1GB, no expiration, no DMCA, no logs)
This commit is contained in:
parent
eeb8054960
commit
0ba636a488
12 changed files with 673 additions and 489 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#! Name: ranoz.sh
|
||||
#! Author: kittykat
|
||||
#! Version: 2025.01.11
|
||||
#! Version: 2025.01.18
|
||||
#! Desc: Add support for downloading and processing of urls for a new host
|
||||
#! Usage: Copy this file into the ./${ScriptDir}/hosts/ folder
|
||||
#!
|
||||
|
|
@ -247,12 +247,15 @@ rz_FetchFileInfo() {
|
|||
#! ----------- (3) Fetch File / Download File Function --------------- #
|
||||
#!
|
||||
rz_GetFile() {
|
||||
echo -e "${GREEN}# Downloading…"
|
||||
echo -e "${GREEN}# Downloading… ${BLUE}(no resume)${NC}"
|
||||
echo -e "${YELLOW}| File path:${NC}\t./.inflight/${filename}\n"
|
||||
fileCnt=$1
|
||||
retryCnt=$2
|
||||
finalAttempt=$3
|
||||
flockDownload="${WorkDir}/.flocks/${filename//[^a-zA-Z0-9\.\_\-]/}.flock"
|
||||
if [ -f "$file_path" ]; then
|
||||
rm -f "$file_path"
|
||||
fi
|
||||
for ((j=1; j<=$MaxDownloadRetries; j++)); do
|
||||
pd_presize=0
|
||||
if [ -f "$file_path" ] ; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue