mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-22 22:39:42 -05:00
[GH-ISSUE #1327] Handle RSS-format YouTube URLs #12171
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@wukko commented on GitHub (Jun 7, 2025):
it was even easier than that, will be merged soon!