2024.11.27 - [up_ranoz] Modify download link to not use the upload url ticket link
# 2024.11.26 - [filehaus] Handle "404 Not found" on first instance # 2024.11.25 - [up_moocloud / moocloud] Add moocloud.ch as an upload and download host # 2024.11.24 - [uploadhive] Handle "Error creating download link" response -- do not mark Removed # 2024.11.23 - [filehaus] Use tor_curl_request_extended for head / get for filehaus urls # 2024.11.23 - [mad] Make tor_curl_request_extended a random timeout between 30-60 seconds # 2024.11.22 - [up_quax, quax] Add qu.ax as an upload and download host # 2024.11.21 - [filedot] Fix check for post filename # 2024.11.20 - [gofile] Handle parsing parent gofile url into multiple download urls # (still needs updating to handle child urls gofile.io/download/web/<guid>/file) # 2024.11.19 - [mad] Add updateUrlDownload function to handle updating a url # (ie. parent gofile url with children urls)
This commit is contained in:
parent
fa83163a58
commit
ec7d121c0e
12 changed files with 656 additions and 34 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#! Name: up_ranoz.sh
|
||||
#! Author: kittykat
|
||||
#! Version: 2024.11.05
|
||||
#! Version: 2024.11.27
|
||||
#! Desc: Add support for uploading files to bedrive.ru
|
||||
#! Info: Files are accessible at https://ranoz.gg/file/<file_code>
|
||||
#! MaxSize: 20GB
|
||||
|
|
@ -110,9 +110,7 @@ rz_PostFile() {
|
|||
fi
|
||||
if grep -Eqi '"upload_url":"https://' <<< "$response" ; then
|
||||
PostUrlHost=$(grep -oPi '(?<="upload_url":").*?(?=".*$)' <<< "$response")
|
||||
upload_url=$(grep -oPi '(?<="upload_url":").*?(?=\?.*$)' <<< "$response")
|
||||
echo -e "upload_url: $upload_url"
|
||||
downloadLink="${upload_url%%\.*}"'.ranoz.gg/'"${upload_url##*/}"
|
||||
downloadLink=$(grep -oPi '(?<="url":").*?(?=".*$)' <<< "$response")
|
||||
echo -e "${GREEN}| Upload url obtained...${NC}"
|
||||
else
|
||||
err=$(grep -oPi '(?<="errors":\[\{"message":").*?(?=".*$)' <<< "$response")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue