How to get a Youtube channel RSS feed after 2015 April 20 (without v3 API)?

后端 未结 16 1120
野趣味
野趣味 2020-12-22 17:14

Now that API v2 is gone, what would be a way to get a simple RSS feed of a channel, without v3 API? I\'m open to Yahoo Pipes or any workaround that is simpler than creating

相关标签:
16条回答
  • 2020-12-22 17:56

    There also exist RSS-Bridge witch can extract RSS feeds from a lot of services like Twitter, Google+, Flickr, Youtube, Identi.ca, etc.

    source: https://github.com/sebsauvage/rss-bridge

    demo server: https://bridge.suumitsu.eu/

    0 讨论(0)
  • 2020-12-22 17:59

    I've made a batch script that creates an RSS feed of your new subscription videos. You don't need an API key. The script uses 2 external tools: YouTube-DL and Xidel.

    Anyway, read the following thread, and go to post 98 to download the script: http://code.google.com/p/gdata-issues/issues/detail?id=3946#c98

    I hope someone codes this to php, python, javascript, powershell or bash.

    0 讨论(0)
  • 2020-12-22 18:00

    If you inspect any Youtube channel page, inside the <head> you will find an rss meta node like this:

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

    This should provide you with the data you need.

    0 讨论(0)
  • 2020-12-22 18:01

    You can get the feeds like this:

    https://www.youtube.com/feeds/videos.xml?channel_id=CHANNELID
    https://www.youtube.com/feeds/videos.xml?user=USERNAME
    https://www.youtube.com/feeds/videos.xml?playlist_id=YOUR_YOUTUBE_PLAYLIST_NUMBER
    

    But the JSON format which used to be supported (with additional parameter &alt=JSON) is not supported anymore.

    Additionally you can request for API key for public access to your YouTube videos from your developer console and get YouTube Videos, Playlists in JSON format like this:

    - Get Channels: 
      https://www.googleapis.com/youtube/v3/channels?part=snippet%2CcontentDetails&forUsername={YOUR_USER_NAME}&key={YOUR_API_KEY}
    - Get Playlists: 
      https://www.googleapis.com/youtube/v3/playlists?part=snippet%2CcontentDetails&channelId={YOUR_CHANNEL_ID}&key={YOUR_API_KEY}
    - Get Playlist Videos: 
      https://www.googleapis.com/youtube/v3/playlistItems?part=snippet%2CcontentDetails%2Cstatus&playlistId={YOUR_PLAYLIST_ID}&key={YOUR_API_KEY}
    

    More information from YouTube v3 docs.

    0 讨论(0)
提交回复
热议问题