#!/bin/bash cook=$(mktemp) link="https://docs.google.com/uc?export=download&id=$(cut -d/ -f6 <<< "$1")" code=$(wget --save-cookies "$cook" "$link" -O- | grep -Eo "confirm=[0-9A-Za-z_]+") aria2c --load-cookies "$cook" "$link&$code" -c -x16 -s16