Skip to content

Commit

Permalink
Support for Google Drive specification changes
Browse files Browse the repository at this point in the history
  • Loading branch information
PINTO0309 committed Mar 26, 2022
1 parent a90df2e commit 13650a9
Show file tree
Hide file tree
Showing 18 changed files with 54 additions and 54 deletions.
6 changes: 3 additions & 3 deletions 200_AGLLNet/download.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1PE5PB52XgFQPIZ6lyS5sGWuNE7ZhpuY7" > /dev/null
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1PE5PB52XgFQPIZ6lyS5sGWuNE7ZhpuY7" -o resources.tar.gz
fileid="1PE5PB52XgFQPIZ6lyS5sGWuNE7ZhpuY7"
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
tar -zxvf resources.tar.gz
rm resources.tar.gz

Expand Down
6 changes: 3 additions & 3 deletions 201_CityscapesSOTA/download.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1hdJPv4_KXD19WKo4KFFweEwwP6iV6Qpc" > /dev/null
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1hdJPv4_KXD19WKo4KFFweEwwP6iV6Qpc" -o resources.tar.gz
fileid="1hdJPv4_KXD19WKo4KFFweEwwP6iV6Qpc"
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
tar -zxvf resources.tar.gz
rm resources.tar.gz

Expand Down
6 changes: 3 additions & 3 deletions 202_stereoDNN/download.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1ekUIpdtKbtRVm3-LL20dQWklz-_PmcHa" > /dev/null
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1ekUIpdtKbtRVm3-LL20dQWklz-_PmcHa" -o resources.tar.gz
fileid="1ekUIpdtKbtRVm3-LL20dQWklz-_PmcHa"
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
tar -zxvf resources.tar.gz
rm resources.tar.gz

Expand Down
6 changes: 3 additions & 3 deletions 203_SRHNet/download.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=15JD0d6vxMxlO6ERh7XLhx8vGLvNUYmp7" > /dev/null
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=15JD0d6vxMxlO6ERh7XLhx8vGLvNUYmp7" -o resources.tar.gz
fileid="15JD0d6vxMxlO6ERh7XLhx8vGLvNUYmp7"
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
tar -zxvf resources.tar.gz
rm resources.tar.gz

Expand Down
6 changes: 3 additions & 3 deletions 204_HINet/download_hinet_deblur_gopro.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1LPJl9342gAaHIiNHO0pK5bqOpqDKfD8v" > /dev/null
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1LPJl9342gAaHIiNHO0pK5bqOpqDKfD8v" -o resources.tar.gz
fileid="1LPJl9342gAaHIiNHO0pK5bqOpqDKfD8v"
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
tar -zxvf resources.tar.gz
rm resources.tar.gz

Expand Down
6 changes: 3 additions & 3 deletions 204_HINet/download_hinet_deblur_reds.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1hA4B1WhhzBgbVWStaep9MTo005GNUovG" > /dev/null
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1hA4B1WhhzBgbVWStaep9MTo005GNUovG" -o resources.tar.gz
fileid="1hA4B1WhhzBgbVWStaep9MTo005GNUovG"
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
tar -zxvf resources.tar.gz
rm resources.tar.gz

Expand Down
6 changes: 3 additions & 3 deletions 204_HINet/download_hinet_denoise_x0.5.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1r44-tO7mRNUDHL-bTWEKkgCDAUJqz3KI" > /dev/null
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1r44-tO7mRNUDHL-bTWEKkgCDAUJqz3KI" -o resources.tar.gz
fileid="1r44-tO7mRNUDHL-bTWEKkgCDAUJqz3KI"
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
tar -zxvf resources.tar.gz
rm resources.tar.gz

Expand Down
6 changes: 3 additions & 3 deletions 204_HINet/download_hinet_denoise_x1.0.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1p16Gx7Ekz2jWmX2uj-VGjbD3gOAaaheU" > /dev/null
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1p16Gx7Ekz2jWmX2uj-VGjbD3gOAaaheU" -o resources.tar.gz
fileid="1p16Gx7Ekz2jWmX2uj-VGjbD3gOAaaheU"
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
tar -zxvf resources.tar.gz
rm resources.tar.gz

Expand Down
6 changes: 3 additions & 3 deletions 204_HINet/download_hinet_derain_rain100h.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1qR9dCF20S4wUoz2X8-c4bnfzpzpJBenW" > /dev/null
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1qR9dCF20S4wUoz2X8-c4bnfzpzpJBenW" -o resources.tar.gz
fileid="1qR9dCF20S4wUoz2X8-c4bnfzpzpJBenW"
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
tar -zxvf resources.tar.gz
rm resources.tar.gz

Expand Down
6 changes: 3 additions & 3 deletions 204_HINet/download_hinet_derain_rain100l.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1yCdRJL0LrR3cYdKXfvX764SUZ6-vA1aF" > /dev/null
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1yCdRJL0LrR3cYdKXfvX764SUZ6-vA1aF" -o resources.tar.gz
fileid="1yCdRJL0LrR3cYdKXfvX764SUZ6-vA1aF"
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
tar -zxvf resources.tar.gz
rm resources.tar.gz

Expand Down
6 changes: 3 additions & 3 deletions 204_HINet/download_hinet_derain_test100.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1BBDhLAJ2CNbzVdZFCbjkR2C4MleN-Vdv" > /dev/null
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1BBDhLAJ2CNbzVdZFCbjkR2C4MleN-Vdv" -o resources.tar.gz
fileid="1BBDhLAJ2CNbzVdZFCbjkR2C4MleN-Vdv"
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
tar -zxvf resources.tar.gz
rm resources.tar.gz

Expand Down
6 changes: 3 additions & 3 deletions 204_HINet/download_hinet_derain_test1200.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=15jxqyFzd_E2NAe_md10fVYdrcIpHWxlb" > /dev/null
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=15jxqyFzd_E2NAe_md10fVYdrcIpHWxlb" -o resources.tar.gz
fileid="15jxqyFzd_E2NAe_md10fVYdrcIpHWxlb"
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
tar -zxvf resources.tar.gz
rm resources.tar.gz

Expand Down
6 changes: 3 additions & 3 deletions 204_HINet/download_hinet_derain_test2800.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=12-V_jLlvbu61DUFynyPFvXqMoDalaKk4" > /dev/null
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=12-V_jLlvbu61DUFynyPFvXqMoDalaKk4" -o resources.tar.gz
fileid="12-V_jLlvbu61DUFynyPFvXqMoDalaKk4"
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
tar -zxvf resources.tar.gz
rm resources.tar.gz

Expand Down
6 changes: 3 additions & 3 deletions 205_MBLLEN/download.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1pDEQyHWcDJ1SHPmNFIQthJD0MaBssp68" > /dev/null
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1pDEQyHWcDJ1SHPmNFIQthJD0MaBssp68" -o resources.tar.gz
fileid="1pDEQyHWcDJ1SHPmNFIQthJD0MaBssp68"
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
tar -zxvf resources.tar.gz
rm resources.tar.gz

Expand Down
6 changes: 3 additions & 3 deletions 206_Matting/download.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1riAjV_A-jD-r5tdrJQpc0WCc1kOUExRZ" > /dev/null
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1riAjV_A-jD-r5tdrJQpc0WCc1kOUExRZ" -o resources.tar.gz
fileid="1riAjV_A-jD-r5tdrJQpc0WCc1kOUExRZ"
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
tar -zxvf resources.tar.gz
rm resources.tar.gz

Expand Down
6 changes: 3 additions & 3 deletions 207_GLADNet/download.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1sIcvIf5ZVntzmmApZmrurdY0tDSsn8Od" > /dev/null
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1sIcvIf5ZVntzmmApZmrurdY0tDSsn8Od" -o resources.tar.gz
fileid="1sIcvIf5ZVntzmmApZmrurdY0tDSsn8Od"
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
tar -zxvf resources.tar.gz
rm resources.tar.gz

Expand Down
6 changes: 3 additions & 3 deletions 208_SAPNet/download.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1OwB9_lR4Vlb5P--5UgZIXBv-_n_huvJ3" > /dev/null
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1OwB9_lR4Vlb5P--5UgZIXBv-_n_huvJ3" -o resources.tar.gz
fileid="1OwB9_lR4Vlb5P--5UgZIXBv-_n_huvJ3"
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
tar -zxvf resources.tar.gz
rm resources.tar.gz

Expand Down
6 changes: 3 additions & 3 deletions 209_MSBDN-DFF/download.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=17Y-p4gA-Yp3cuEs6SefYlXQv3S8nHf7-" > /dev/null
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=17Y-p4gA-Yp3cuEs6SefYlXQv3S8nHf7-" -o resources.tar.gz
fileid="17Y-p4gA-Yp3cuEs6SefYlXQv3S8nHf7-"
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"`
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o resources.tar.gz
tar -zxvf resources.tar.gz
rm resources.tar.gz

Expand Down

0 comments on commit 13650a9

Please sign in to comment.