[GH-ISSUE #1327] Handle RSS-format YouTube URLs #9713

Closed
opened 2026-04-24 15:55:31 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @creideiki on GitHub (Jun 7, 2025).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/1327

describe the feature you'd like to see

YouTube's RSS feeds contain URLs of the form https://www.youtube.com/v/<ID>?version=3 (e.g. https://www.youtube.com/v/HSRmfNDk87s?version=3). Trying to enter one directly into Cobalt results in the error "youtube is supported, but i couldn't recognize your link. have you pasted the right one?". Visiting the URL with a web browser redirects to a URL of the usual format (https://www.youtube.com/watch?v=HSRmfNDk87s), but it would be nice if Cobalt could understand the URL directly from the feed, without the extra step of either visiting it or manually rewriting it first.

This looks like it should be an easy change in this code block: 291f3401dd/api/src/processing/url.js (L16-L22)
But implementing and testing it is unfortunately beyond my negligible knowledge of JavaScript.

additional context

YouTube's built-in RSS feeds are a little-known feature, but they are handy for me since I don't want to have to use a Google account and I use lots of other RSS feeds. For an example feed, see https://www.youtube.com/feeds/videos.xml?channel_id=UC2C_jShtL725hvbm1arSV9w

Originally created by @creideiki on GitHub (Jun 7, 2025). Original GitHub issue: https://github.com/imputnet/cobalt/issues/1327 ### describe the feature you'd like to see YouTube's RSS feeds contain URLs of the form `https://www.youtube.com/v/<ID>?version=3` (e.g. https://www.youtube.com/v/HSRmfNDk87s?version=3). Trying to enter one directly into Cobalt results in the error "youtube is supported, but i couldn't recognize your link. have you pasted the right one?". Visiting the URL with a web browser redirects to a URL of the usual format (https://www.youtube.com/watch?v=HSRmfNDk87s), but it would be nice if Cobalt could understand the URL directly from the feed, without the extra step of either visiting it or manually rewriting it first. This looks like it should be an easy change in this code block: https://github.com/imputnet/cobalt/blob/291f3401ddd90fc345227c3d461f7df0c10a9d68/api/src/processing/url.js#L16-L22 But implementing and testing it is unfortunately beyond my negligible knowledge of JavaScript. ### additional context YouTube's built-in RSS feeds are a little-known feature, but they are handy for me since I don't want to have to use a Google account and I use lots of other RSS feeds. For an example feed, see https://www.youtube.com/feeds/videos.xml?channel_id=UC2C_jShtL725hvbm1arSV9w
GiteaMirror added the feature request label 2026-04-24 15:55:31 -05:00
Author
Owner

@wukko commented on GitHub (Jun 7, 2025):

it was even easier than that, will be merged soon!

<!-- gh-comment-id:2952011931 --> @wukko commented on GitHub (Jun 7, 2025): it was even easier than that, will be merged soon!
Sign in to join this conversation.