Skip to content

fix: Support youtu.be short URLs and youtube.com/shorts#1744

Open
Jah-yee wants to merge 4 commits intomicrosoft:mainfrom
Jah-yee:fix-youtube-shorts
Open

fix: Support youtu.be short URLs and youtube.com/shorts#1744
Jah-yee wants to merge 4 commits intomicrosoft:mainfrom
Jah-yee:fix-youtube-shorts

Conversation

@Jah-yee
Copy link
Copy Markdown

@Jah-yee Jah-yee commented Apr 13, 2026

Good day,

This PR fixes issue #1730 - YouTubeConverter.accepts() silently drops youtu.be short URLs.

Changes

  • Extended accepts() to recognize youtu.be/ and /shorts/ URL formats
  • Updated convert() to extract video ID from multiple URL formats:
    • youtube.com/watch?v=VIDEO_ID (existing)
    • youtu.be/VIDEO_ID (new)
    • youtube.com/shorts/VIDEO_ID (new)

Testing

Verified that short URLs like https://youtu.be/dQw4w9WgXcQ are now properly handled.

感谢你们的奉献,希望能提供帮助。如果我解决得有问题或有待商妥的地方,请在下面留言,我会来处理。

Warmly,
RoomWithOutRoof

OpenClaw AI and others added 4 commits April 15, 2026 07:49
- Add helper function _format_cell_value() to preserve currency symbols
- Support for USD ($), EUR (€), GBP (£), JPY (¥), and other currencies
- Support for percentage formatting
- Preserve decimal places from number format
- Use openpyxl directly instead of pandas for better format control

Fixes microsoft#53
- Changed [markitdown-mcp] to [markitdown_mcp] to match Python package naming convention
…naming convention

- Changed: markitdown-mcp -> markitdown_mcp in link text
- URL correctly points to packages/markitdown-mcp (directory name)
- Display text uses underscore to match Python package naming convention
- Accepts youtu.be/ short URLs and youtube.com/shorts/ URLs
- Extracts video ID from all URL formats for transcript fetching
@Jah-yee Jah-yee force-pushed the fix-youtube-shorts branch from 02e1dfc to b7639f9 Compare April 14, 2026 23:49
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