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

Feature request: construct feed URLs for YouTube channels #902

Open
superlex opened this issue Aug 28, 2019 · 13 comments
Open

Feature request: construct feed URLs for YouTube channels #902

superlex opened this issue Aug 28, 2019 · 13 comments
Assignees

Comments

@superlex
Copy link

superlex commented Aug 28, 2019

Hello,
first of all thank you and congratulations for your amazing work :)

Then,
currently, it looks like NetNewsWire doesn't find YouTube feeds if the link contains channel id instead of user name.

Example 1:
Try to add
https://www.youtube.com/user/CNN
Result: ok

Example 2:
Try to add
https://www.youtube.com/channel/UChjRM_qQAaOAiLNbOGbYcRA/
Result: Feed not found

Workaround: convert the link into
https://www.youtube.com/feeds/videos.xml?channel_id=UChjRM_qQAaOAiLNbOGbYcRA
Result: ok

My environment:

  • NetNewsWire Version 5.0 (2609)
  • macOS 10.14.6
@brentsimmons brentsimmons added this to the 5.0.1 Beta milestone Aug 28, 2019
@brentsimmons
Copy link
Collaborator

We’ll fix this for 5.0.1 if it’s a defect in the feed finder. If it’s not — if it would take a special case — we’ll punt till after 5.0.1.

@brentsimmons
Copy link
Collaborator

This is not, strictly speaking, a defect in the feed finder. That page doesn’t link to an RSS feed (or Atom or anything else).

Finding this feed would require doing a special case — doing some pattern matching on the URL and then constructing the likely feed URL.

I’m making this a feature request and removing it from the 5.0.1 milestone.

@brentsimmons brentsimmons removed this from the 5.0.1 Beta milestone Aug 29, 2019
@brentsimmons brentsimmons changed the title NetNewsWire doesn't find some YouTube feeds Aug 29, 2019
@brentsimmons brentsimmons changed the title Feature request: find YouTube feeds for channels Aug 29, 2019
@superlex
Copy link
Author

Ah ok, thank you!

@ghost
Copy link

ghost commented Feb 6, 2020

Would love this as well. As a workaround I created an AppleScript that creates the feed url, and opens it in NNW.

var base = "https://www.youtube.com/feeds/videos.xml?channel_id="
var safari = Application('Safari')

var url = safari.windows[0].currentTab.url()
var res = url.split("/")
var id = res[res.length - 1]

safari.windows[0].currentTab.url = base + id

Skjermbilde 2020-02-06 kl  12 56 33

@fannar
Copy link

fannar commented Feb 25, 2021

Youtube channels do have a RSS link, but NNW doesn't recognize it.

<link rel="alternate" type="application/rss+xml" title="RSS" href="https://www.youtube.com/feeds/videos.xml?channel_id=UChjRM_qQAaOAiLNbOGbYcRA">

@jinyuzu99
Copy link

Youtube channels do have a RSS link, but NNW doesn't recognize it.

<link rel="alternate" type="application/rss+xml" title="RSS" href="https://www.youtube.com/feeds/videos.xml?channel_id=UChjRM_qQAaOAiLNbOGbYcRA">

@brentsimmons you can let nnw find youtube rss link via this html element.

@brentsimmons
Copy link
Collaborator

Sounds like it could be a bug in our code that looks for the <link… tag with the RSS URL.

@brentsimmons brentsimmons added this to the NetNewsWire 6.0 milestone May 9, 2021
@vincode-io
Copy link
Member

@fannar Could you please supply us with the URL you found the link element in? I'm not seeing it when looking at the source for https://www.youtube.com/user/TheVolvorocks where I would expect to see it.

@xxyzz
Copy link

xxyzz commented May 14, 2021

I'm not seeing it when looking at the source for https://www.youtube.com/user/TheVolvorocks where I would expect to see it.

It's inside the body tag:
Screen Shot 2021-05-14 at 10 56 12

@brentsimmons brentsimmons self-assigned this May 23, 2021
@brentsimmons
Copy link
Collaborator

I just did a workaround so that we’ll detect feed links in YouTube pages like https://www.youtube.com/user/TheVolvorocks

Our code stopped looking once it hit the body tag, since feed links should be in the head section. I created a special case for YouTube where it will continue scanning for feed links, instead of stopping, once it hits the body tag.

@brentsimmons brentsimmons modified the milestones: NetNewsWire 6.0, Future May 23, 2021
@ednl
Copy link

ednl commented Jul 27, 2021

Have YouTube since gone one step further in removing all mention of RSS? ;( I'm not seeing any rss links on channel pages. I have a few old YouTube subscriptions in NNW so I can still add them manually by editing an exported list but that's not really convenient. E.g. I don't see any rss link in the source for https://www.youtube.com/channel/UCCxKPNMqjnqbxVEt1tyDUsA and consequently the toolbar extension doesn't find anything. But my old link works in NNW!

Edit: huh? Now it does work when I click my own example link from here, after I checked the "TheVolvorocks" link which also worked. I'm quite sure the icon wasn't active before, I had to edit the subscription list manually. Not sure what's happening, sorry.

@honzajavorek
Copy link

This has got a bit worse by the fact YouTube has introduced handles for channels. Adding e.g. https://www.youtube.com/@DreamPrague now involves quite some manual labor to find out the ID as it's not in the URL anymore. It would be awesome if NetNewsWire supported magically constructing the RSS links out of the box if given the channel URL.

@brentsimmons brentsimmons removed this from the Future milestone Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment