Skip to content

Commit

Permalink
Merge pull request #610 from voxel51/bugfix/fix-gdrive-download
Browse files Browse the repository at this point in the history
Fix address for gdrive download content
  • Loading branch information
swheaton authored Jan 11, 2024
2 parents ceb8534 + e2cdc47 commit ac1d93f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion eta/core/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 2 additions & 2 deletions requirements/common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac1d93f

Please sign in to comment.