Hacker News new | ask | show | jobs
by jasonkostempski 2850 days ago
YouTube channel feeds, if they have one, are at: www.youtube.com/feeds/videos.xml?channel_id={channel_id} Some channels have a custom url and the id isn't obvious but it should be in the page source somewhere.

For example, "It's Okay To Be Smart" is at "www.youtube.com/user/itsokaytobesmart". Right click, view page source, search for "/channel/". That finds "<link rel="canonical" href="https://www.youtube.com/channel/UCH4BNI0-FOK2dMXoFtViWHw">". So the feed url is:

    https://www.youtube.com/feeds/videos.xml?channel_id=UCH4BNI0-FOK2dMXoFtViWHw
1 comments

I'm not sure what the relationship between channels and users is. I think it's many-to-many and I'm aware of 3 feed types:

    https://www.youtube.com/feeds/videos.xml?user=<username>  
    https://www.youtube.com/feeds/videos.xml?channel_id=<channel id>  
    https://www.youtube.com/feeds/videos.xml?playlist_id=<playlist id>  

Would love to hear if there are more.
Woah, I spent more time than I care to admit trying to find some feeds. I thought I had the secret sauce all figured out :) https://www.youtube.com/feeds/videos.xml?user=itsokaytobesma... is much easier to use. I can think of a few channels where the play list thing will come in handy if it works. Gamers where I only want to see 1 out of 50 games they play and are who are orginized enough to keep seperate playlist is one example. You can't even do that with YouTubes own subscription method as far as I know.