From 02963c7409ff20f815a84220b66e83fbc1e8c76a Mon Sep 17 00:00:00 2001 From: RunningDroid Date: Sun, 22 Jan 2017 02:09:56 -0500 Subject: [PATCH] handle mediafire.com/file/$hash/$filename --- mediafire.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mediafire.sh b/mediafire.sh index 5a2041a3..c98ceff5 100644 --- a/mediafire.sh +++ b/mediafire.sh @@ -92,6 +92,10 @@ mediafire_extract_id() { ID=$(parse . '/download/\([[:alnum:]]\+\)' <<< "$URL") || return ;; + */file/*) + ID=$(parse . '/file/\([[:alnum:]]\+\)' <<< "$URL") || return + ;; + */folder/*) ID=$(parse . '/folder/\([[:alnum:]]\+\)' <<< "$URL") || return ;;