Well, I was trying add the PBS Space Time YouTube channel’s RSS feed to my reader like I’ve done with other channels in the past; however, the browser was never detecting the feed and it has seemed problematic with YouTube for sometime. Actually, when I examined the source code, I could not find any reference to a feed for the browser to detect.ย So, here’s what I did.
I found a working feed which had a URL like:
I then replaced (channel-id) with the one for PBS Space Time which happens to be
so the complete URL would be:
You can find the channel id by looking at the address bar in your browser when looking a the channel’s home. Example:
It worked! Hope this helps someone. ๐
Update September 18, 2016: You can also use the userย name that shows in the address bar if it doesn’t have a channel ID. Use user=username to specify the RSS feed. In this case a URL would be like:
Update April 4, 2017: I found out from here that for a YouTube playlist, use playlist_id. So, for my music video playlist, the URL would be:
Update September 5, 2017: Check out my new post: How to Get RSS Feeds For All Your YouTube Subscriptions that describes how to import all your YouTube subscription RSS feeds at once.
๐
๐ :O Yep thanks
๐ Hope my blog work http://nowearethere.blogspot.com with utube ha..
Can you please specify the rss url for playlist on youtube? Thank you!
Looks like you use playlist_id in the URL, so https://www.youtube.com/feeds/videos.xml?playlist_id=PL8D8D4240EC972114 would be the feed for one of my playlists.
Thank you so much!!!
Someone knows how get the main LIVE event of a youtube channel?
Example:
I Know the channel-id: UCR9120YBAqMfntqgRTKmkjQ
I Know the MAIN LIVE event is “/live”
Then I access:
https://www.youtube.com/channel/UCR9120YBAqMfntqgRTKmkjQ/live
But, how I find out the single event-id associate to channel/live using the youtube url api.
(The answer right now is https://www.youtube.com/watch?v=URAMVgoXyec)
In advance, thanks.
That would probably be something to ask YouTube about. All I know is that if I use the URL https://www.youtube.com/feeds/videos.xml?channel_id=UCR9120YBAqMfntqgRTKmkjQ it does show the live stream URL as the first one. As far as the API goes, I’ve never used that.
Nope, it was just a coincidence.
Check this channel instead:
UCkmRrRz3UvRCTEadCNCIoTg
The main-livestream is
https://www.youtube.com/channel/UCkmRrRz3UvRCTEadCNCIoTg/live
equals (for now at least) to
https://www.youtube.com/watch?v=ZxoWgD4ig7U
But
https://www.youtube.com/feeds/videos.xml?channel_id=UCkmRrRz3UvRCTEadCNCIoTg
does not list the live-event at first, in fact, it does not list it at all.
My conclusion: The standard “videos.xml” only lists the 12 most recent events, nothing more.
Someone knows a alternative?
How do you include the thumbnails in the feeds?
The thumbnails are included in the feeds. The code usually has something like <media:thumbnail url=”https://i3.ytimg.com/vi/fG52mXN-uWI/hqdefault.jpg” width=”480″ height=”360″> in it.
Anyway, it’s up to YouTube what they send out in the feed and it’s up to the RSS Reader how it displays it.
Hi
i am trying to fetch the complete plalist (26 episodes) through feeds XML file, however it only displays 12 indexes;
https://www.youtube.com/feeds/videos.xml?playlist_id=PL-DCbpHFjATxfjP-OYegGvqYH8OPSG7i3&max-results=25&index=1
would appreciate if you could advice on this;)
PS
The complete playlist has more than 26 episodes (indexes)
https://www.youtube.com/playlist?list=PL-DCbpHFjATxfjP-OYegGvqYH8OPSG7i3
It’s kind of up to YouTube how many items they send on a RSS feed request. It’s something you’d have to ask them.
Thank you very much for this. I didn’t realize I could use the user name and with Youtube’s latest change, I was having a hard time finding their channel ID. Tried the username like you said and it’s working perfect. Thank you!!
Very helpful. Thanks Mark.
im looking for on how to locate the youtube rss via keyword only… is there anyone here who is good at it…