Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obtaining token fails, thus file is never downloaded? #8

Open
azayek5 opened this issue Feb 17, 2019 · 1 comment
Open

Obtaining token fails, thus file is never downloaded? #8

azayek5 opened this issue Feb 17, 2019 · 1 comment

Comments

@azayek5
Copy link

azayek5 commented Feb 17, 2019

This is the code I'm using.
file_id = '1hOx-rMFm03NXWhBJSojdaSqtXHoJ6izM'
dest_path = './test'
overwrite = True
unzip = True
gdd.download_file_from_google_drive(file_id, dest_path, overwrite, unzip, showsize=True)

The zip file test.zip is created, but unzip does not work due to it not being a valid zip file. Through debugging, I believe this is because the token is not getting set when
token = GoogleDriveDownloader._get_confirm_token(response)
is called. Any ideas on how to fix this?

@vivekabhosale14
Copy link

same error , did find any solution for this

thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants