mirror of
https://github.com/Phantop/dotfiles
synced 2024-12-25 06:36:42 +00:00
6 lines
243 B
Bash
Executable file
6 lines
243 B
Bash
Executable file
#!/bin/bash
|
|
cook=/tmp/cookies
|
|
link="https://docs.google.com/uc?export=download&id=$(echo $1 | cut -d/ -f6)"
|
|
code=$(wget --save-cookies $cook "$link" -O- | egrep -o confirm=[0-9A-Za-z_]+)
|
|
aria2c --load-cookies $cook "$link&$code" -c -x16 -s 16
|