Coder Social home page Coder Social logo

Comments (2)

Eitot avatar Eitot commented on June 24, 2024

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.

from vienna-rss.

Eitot avatar Eitot commented on June 24, 2024

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.

from vienna-rss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.