Skip to content

Fix: Suppress gdown UserWarning by enabling fuzzy extraction#157

Open
AviJxn wants to merge 1 commit into
INCF:mainfrom
AviJxn:fix/gdown-fuzzy-warning
Open

Fix: Suppress gdown UserWarning by enabling fuzzy extraction#157
AviJxn wants to merge 1 commit into
INCF:mainfrom
AviJxn:fix/gdown-fuzzy-warning

Conversation

@AviJxn

@AviJxn AviJxn commented Jan 16, 2026

Copy link
Copy Markdown

Problem

When running python convert_table/src/download.py, gdown throws a UserWarning because the URL format for Google Sheets export is detected as a file link rather than a folder, prompting the user to try the --fuzzy option.

Solution

Added fuzzy=True to the gdown.download call in convert_table/src/download.py. This explicitly tells gdown to handle the URL extraction correctly, silencing the warning and ensuring cleaner output logs.

Verification

Ran the download script locally:
Before:
UserWarning: You specified a Google Drive link that is not the correct link...

After:
Downloading... (Clean output, no warnings)

@AviJxn AviJxn closed this May 19, 2026
@AviJxn AviJxn reopened this May 19, 2026
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

Successfully merging this pull request may close these issues.

1 participant