From e2cdc47371914321aa5ec0b0a0c04ebd1866bd3a Mon Sep 17 00:00:00 2001 From: Stuart Wheaton Date: Thu, 11 Jan 2024 15:52:17 -0500 Subject: [PATCH] fix address for gdrive download content --- eta/core/web.py | 2 +- requirements/common.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eta/core/web.py b/eta/core/web.py index d1f9397b..89cc77d5 100644 --- a/eta/core/web.py +++ b/eta/core/web.py @@ -183,7 +183,7 @@ class WebSessionError(Exception): class GoogleDriveSession(WebSession): """Class for downloading Google Drive files.""" - BASE_URL = "https://drive.google.com/uc?export=download" + BASE_URL = "https://drive.usercontent.google.com/download?export=download" def get(self, fid): return super(GoogleDriveSession, self).get( diff --git a/requirements/common.txt b/requirements/common.txt index fbf1c4f0..1e5711db 100644 --- a/requirements/common.txt +++ b/requirements/common.txt @@ -11,10 +11,10 @@ numpy>=1.16.3 opencv-python-headless<5,>=4.1.0.25 packaging==19.2 Pillow==9.3.0 -py7zr=0.20.4 +py7zr==0.20.4 python-dateutil==2.7.0 pytz==2019.3 -rarfile=4.0.0 +rarfile==4.0.0 requests-toolbelt==0.8.0 requests>=2.21.0 retrying==1.3.3