markitdown
markitdown copied to clipboard
Support short YouTube URLs
Summary
Support short YouTube URLs (youtu.be/...) in the YouTube converter.
The converter already handles standard YouTube URL shapes. This adds support for short links and coverage for those URL variants so transcript conversion can resolve the video ID consistently.
Validation
Attempted:
uv run --python 3.12 --project packages/markitdown --extra youtube-transcription --with pytest python -m pytest packages/markitdown/tests/test_module_misc.py -q
Result: 13 passed, 2 skipped, 6 failed due unrelated optional converter dependencies / remote speech/PDF coverage in the broad misc module (docx, pptx, pdf, speech transcription). The new YouTube short URL coverage is in the committed test file.