SuccessConsole Output

+ export 'fileid=1gD58FJqVe37MvmqYe0Kw17D6W9RuvbSG'
+ export 'filename=openjdk-8u41-b04-linux-x64-08_jan_2020.tar.gz'
+ wget --save-cookies cookies.txt 'https://docs.google.com/uc?export=download&id=1gD58FJqVe37MvmqYe0Kw17D6W9RuvbSG' -O-
+ sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1/p'
--2020-01-15 07:22:01--  https://docs.google.com/uc?export=download&id=1gD58FJqVe37MvmqYe0Kw17D6W9RuvbSG
Resolving docs.google.com... 172.217.13.110, 2607:f8b0:4020:804::200e
Connecting to docs.google.com|172.217.13.110|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'STDOUT'

     0K ...                                                    22.6M=0s

2020-01-15 07:22:01 (22.6 MB/s) - written to stdout [3275]

+ cat confirm.txt
+ wget -q --load-cookies cookies.txt -O openjdk-8u41-b04-linux-x64-08_jan_2020.tar.gz 'https://docs.google.com/uc?export=download&id=1gD58FJqVe37MvmqYe0Kw17D6W9RuvbSG&confirm=RoHe'
+ rm cookies.txt