Links

Download file

Tags: #googledrive #snippet #operations #naas
Author: Jeremy Ravenel

Input

Pre-requisite : change file access rights to make sure Naas can access ("Allow anyone") If you need more specific user rights, just drop us an email [email protected]

Import library

try:
import gdown
except:
!pip install gdown
import gdown

Model

Url of the file and the name of the output

url = 'https://drive.google.com/uc?id=1-3UlYEPKgL4E197umEh6d58jWknodSm5'
output = 'naas_happy_hour.mp4'

Output

Download the file

gdown.download(url, output, quiet=False)