Handle download from Gdrive for big zip files

This commit is contained in:
Petr Kalis 2023-01-03 13:43:02 +01:00
parent 05a11f642b
commit 8cbc9c2ad9

View file

@ -252,6 +252,11 @@ class RemoteFileHandler:
if key.startswith('download_warning'):
return value
# handle antivirus warning for big zips
found = re.search("(confirm=)([^&.+])", response.text)
if found:
return found.groups()[1]
return None
@staticmethod