Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add resmgr Google Drive downloads #993

Merged
merged 2 commits into from
Mar 13, 2023

Conversation

bertsky
Copy link
Collaborator

@bertsky bertsky commented Mar 10, 2023

fixes #992

But the supported URLs are somewhat limited IIUC. For our example, we have to append /view. Besides this /file/d/.../view pattern, gdown knows about /presentation/d/.../edit and /uc?id=... URLs.

Anyway – this seems least painful. Might have to extend when more cases arise.

@bertsky
Copy link
Collaborator Author

bertsky commented Mar 10, 2023

Sry, PR is based on #991 already.

@bertsky bertsky requested a review from kba March 10, 2023 18:25
@bertsky
Copy link
Collaborator Author

bertsky commented Mar 10, 2023

But the supported URLs are somewhat limited IIUC. [...]

Note: in the case of folders, you first need to use gdown --folder URL on the CLI to determine the single-file URLs (which the resmgr downloader then supports). Example

@kba kba merged commit 7448565 into OCR-D:master Mar 13, 2023
@bertsky bertsky deleted the add-resmgr-gdrive-download branch June 6, 2024 14:11
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.

resmgr download: support Google Drive
2 participants