Andrew Buis

Auto-updated Youtube Subscriptions

Recommended Posts

I know I can export an OPML file from youtube and import into inoreader, but it is a static list of my subscribed channels. Is there a way to point Inoreader to a live version so when I add/remove subscriptions, it would automatically update the feeds in inoreader?

Another thought would be that it would mark as read in inoreader if I have already watched the video, but that might be trickier, as that isn't a google supported feed.

Share this post


Link to post
Share on other sites

Actually we support dynamic opml subscriptions (auto-updated) but I'm not familiar if Youtube are offering such. 

On 4/14/2018 at 2:47 AM, Andrew Buis said:

Another thought would be that it would mark as read in inoreader if I have already watched the video, but that might be trickier, as that isn't a google supported feed.

 I'm afraid that this is pretty trickier since there is no 2-way communication with youtube for now. 

Share this post


Link to post
Share on other sites

Yes, I saw that option, which is what prompted this post. There is the file offered on your youtube page, but the link to it isn't something inoreader would accept:

https://www.youtube.com/subscription_manager?action_takeout=1

It also doesn't look like it is user account specific, like it was with the 2.0 API:

http://gdata.youtube.com/feeds/base/users/(username)/newsubscriptionvideos

But doesn't seem to be directly supported with the 3.0 API. But using their API Explorer, I can view a list of my subscriptions (up to 50 at a time) here:

https://developers.google.com/apis-explorer/#p/youtube/v3/youtube.subscriptions.list?part=snippet%252CcontentDetails&mine=true&_h=2&

The results look JSON in format. How that can translate to an auto-updated OPML file is where I don't have enough technical expertise. Here is one of the channels for instance:

{
   "kind": "youtube#subscription",
   "etag": "\"ZG3FIn5B5vcHjQiQ9nDOCWdxwWo/OHh9K6GKht1RaQo-mM9zwnBHAAc\"",
   "id": "-0kaj3QPKZ8VFfx4N2zHDvJ6QICEYCAbPhhEfCLTJlw",
   "snippet": {
    "publishedAt": "2017-03-30T16:22:09.000Z",
    "title": "Alec Steele",
    "description": "Hey! My name is Alec Steele, I'm a blacksmith and Youtuber. This YouTube channel is designed to give you an entertaining insight into the life of a blacksmith in the 21st Century through my daily vlogs, teach you blacksmithing online and interact with you through my weekly live show, Saturday's 5pm EST, 2pm PST, 10pm BST. \n \n-Alec \n\nNorwich, Norfolk, UK\nhttps://www.facebook.com/alecsteeleblacksmith/",
    "resourceId": {
     "kind": "youtube#channel",
     "channelId": "UCWizIdwZdmr43zfxlCktmNw"
    },
    "channelId": "UCjbPgo5ziEpCU_DMu_KLBQA",
    "thumbnails": {
     "default": {
      "url": "https://yt3.ggpht.com/-V_jCF9fW3Bc/AAAAAAAAAAI/AAAAAAAAAAA/nMWJKdlFdTU/s88-c-k-no-mo-rj-c0xffffff/photo.jpg"
     },
     "medium": {
      "url": "https://yt3.ggpht.com/-V_jCF9fW3Bc/AAAAAAAAAAI/AAAAAAAAAAA/nMWJKdlFdTU/s240-c-k-no-mo-rj-c0xffffff/photo.jpg"
     },
     "high": {
      "url": "https://yt3.ggpht.com/-V_jCF9fW3Bc/AAAAAAAAAAI/AAAAAAAAAAA/nMWJKdlFdTU/s800-c-k-no-mo-rj-c0xffffff/photo.jpg"
     }
    }
   },
   "contentDetails": {
    "totalItemCount": 573,
    "newItemCount": 5,
    "activityType": "all"
   }

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now