Skip to content

Commit

Permalink
Merge pull request mcrapet#128 from RunningDroid/master
Browse files Browse the repository at this point in the history
handle mediafire.com/file/$hash/$filename
  • Loading branch information
mcrapet authored Jan 25, 2017
2 parents d8b8099 + 02963c7 commit 1530cf9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mediafire.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down

0 comments on commit 1530cf9

Please sign in to comment.