updates
This commit is contained in:
parent
e7f85bcfb9
commit
7e92f70e05
|
@ -23,7 +23,7 @@ def gdrive_download(id='1HaXkef9z6y5l4vUnCYgdmEAj61c6bfWO', name='coco.zip'):
|
||||||
"curl -Lb ./cookie -s \"https://drive.google.com/uc?export=download&confirm=`awk '/download/ {print $NF}' ./cookie`&id=%s\" -o %s" % (
|
"curl -Lb ./cookie -s \"https://drive.google.com/uc?export=download&confirm=`awk '/download/ {print $NF}' ./cookie`&id=%s\" -o %s" % (
|
||||||
id, name),
|
id, name),
|
||||||
'rm ./cookie']
|
'rm ./cookie']
|
||||||
r = sum([os.system(x) for x in s]) # run commands, get return zeros
|
r = sum([os.system(x) for x in s][:2]) # run commands, get return zeros
|
||||||
|
|
||||||
# Attempt small file download
|
# Attempt small file download
|
||||||
if not os.path.exists(name): # file size < 40MB
|
if not os.path.exists(name): # file size < 40MB
|
||||||
|
|
Loading…
Reference in New Issue