Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Youtube RSS with handles #1629

Closed
akasaka99 opened this issue Nov 7, 2022 · 2 comments
Closed

Add a Youtube RSS with handles #1629

akasaka99 opened this issue Nov 7, 2022 · 2 comments
Labels
won't fix 👎 The issue will not be addressed. It might work as expected or intended.

Comments

@akasaka99
Copy link

  • Vienna version 2.8.3
  • OS version: 10.13.6

Hello, how can I add a Youtube RSS when the Youtube channel does not use a ID but rather a handle like in this case: https://www.youtube.com/c/ChrisTitusTech/videos
Many thanks

@Eitot
Copy link
Contributor

Eitot commented Nov 12, 2022

It seems that YouTube will still use the channel ID for feeds rather than the handle. This would be the URL:
https://www.youtube.com/feeds/videos.xml?channel_id=UCg6gPGh8HU2U01vaFCAsvmQ

The URL is properly included on this page, so it should be recognised by Vienna. However, this is not happening here. I will mark this as a bug.

For reference: when I check the source of https://www.youtube.com/c/ChrisTitusTech/videos I find the following element in the <body> element:
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://www.youtube.com/feeds/videos.xml?channel_id=UCg6gPGh8HU2U01vaFCAsvmQ">

This is something Vienna should recognise as a valid RSS feed. If I add this element to the FeedDiscovery.html test file, it is correctly recognised.

I cannot immediately see what the issue is. I wonder if HTML element is added dynamically after the page was loaded.

@Eitot Eitot added the bug 🐞 label Nov 12, 2022
@Eitot
Copy link
Contributor

Eitot commented Nov 12, 2022

This is probably the issue: YouTube redirects to a cookie landing page first when the website is first loaded (at least in the EU), which the user must go through to reach the YouTube content page. The <link> element (above) is not on this page.

I don't think this is fixable for us, since it does require user interaction to get to the next page. I suppose it might be mitigable by using existing cookies, but this only works if the cookies were created by Vienna. I tried using the internal browser to accept YouTube's cookies and get to the content page, but this won't affect the feed discoverer, sadly.

Edit: It actually did work after a restart of Vienna, so the cookies are shared.

@ViennaRSS/maintainers: Any ideas? I am inclined to mark this as wontfix.

@Eitot Eitot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 22, 2022
@Eitot Eitot added won't fix 👎 The issue will not be addressed. It might work as expected or intended. and removed bug 🐞 labels Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
won't fix 👎 The issue will not be addressed. It might work as expected or intended.
Projects
None yet
Development

No branches or pull requests

2 participants