Skip to content

Commit

Permalink
added new gdrive url type
Browse files Browse the repository at this point in the history
  • Loading branch information
circulosmeos committed Feb 1, 2019
1 parent b6d5341 commit bc5a4f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gdown.pl
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
if ($URL=~m#^https?://drive.google.com/file/d/([^/]+)#) {
$URL="https://docs.google.com/uc?id=$1&export=download";
}
elsif ($URL=~m#^https?://drive.google.com/open\?id=([^/]+)#) {
$URL="https://docs.google.com/uc?id=$1&export=download";
}

execute_command();

Expand Down

0 comments on commit bc5a4f3

Please sign in to comment.