Expand description
URL parsing for Google Drive links
Supports various Google Drive URL formats:
- https://drive.google.com/uc?id=
- https://drive.google.com/file/d/
/view - https://drive.google.com/open?id=
- https://docs.google.com/document/d/
/edit - https://docs.google.com/spreadsheets/d/
/edit - https://docs.google.com/presentation/d/
/edit
Functions§
- build_
download_ url - Build a download URL from a file ID
- build_
export_ url - Build an export URL for Google Docs/Sheets/Slides
- is_
google_ drive_ url - Check if URL is a Google Drive URL
- parse_
url - Parse a Google Drive URL and extract the file ID.
Type Aliases§
- FileId
- Google Drive file ID (typically 26 alphanumeric characters)