diff --git a/scripts/upload_services/transferwee.py b/scripts/upload_services/transferwee.py index 526ea08e..60fea046 100644 --- a/scripts/upload_services/transferwee.py +++ b/scripts/upload_services/transferwee.py @@ -99,6 +99,7 @@ def download_url(url: str) -> str: return None j = { + "intent": "entire_transfer", "security_hash": security_hash, } if recipient_id: diff --git a/scripts/upload_services/wetransfer.com.sh b/scripts/upload_services/wetransfer.com.sh index e730f46d..89901c34 100644 --- a/scripts/upload_services/wetransfer.com.sh +++ b/scripts/upload_services/wetransfer.com.sh @@ -20,6 +20,11 @@ if [ ! -f "$FILE" ]; then exit 1 fi -RESPONSE=$(python3 transferwee.py upload "${FILE}") + +scripts_path=`dirname $0` + +python3 -m pip install -U -q requests + +RESPONSE=$(python3 ${scripts_path}/transferwee.py upload "${FILE}") echo "${RESPONSE}" # to terminal