Skip to content

Instantly share code, notes, and snippets.

View anant15's full-sized avatar
🎯
Focusing

Anant Mittal anant15

🎯
Focusing
View GitHub Profile
import requests
def download_file_from_google_drive(id, destination):
def get_confirm_token(response):
for key, value in response.cookies.items():
if key.startswith('download_warning'):
return value
return None