From 97504ef65ad698c7170d296474907208bb070970 Mon Sep 17 00:00:00 2001 From: Jyotiraditya Panda Date: Tue, 1 Oct 2024 18:21:24 +0530 Subject: [PATCH] feat: Convert Pixeldrain user URLs to API format Signed-off-by: Jyotiraditya Panda --- extract_and_push.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extract_and_push.sh b/extract_and_push.sh index 8cec74d..ef3107a 100755 --- a/extract_and_push.sh +++ b/extract_and_push.sh @@ -156,6 +156,9 @@ else break fi done + elif [[ $URL == https://pixeldrain.com/u/* ]]; then + echo "[INFO] Pixeldrain URL detected. Converting to alternative domain." + URL="https://pd.cybar.xyz/${URL##*/}" fi # Confirm download has started