Skip to content

Fix: Suppress gdown UserWarning by enabling fuzzy extraction#157

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

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

Conversation

@AviJxn
Copy link

@AviJxn AviJxn commented Jan 16, 2026

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)

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