Skip to content

Instantly share code, notes, and snippets.

@dgryski
Created February 21, 2015 00:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgryski/3649dfe0ad31f6840c6f to your computer and use it in GitHub Desktop.
Save dgryski/3649dfe0ad31f6840c6f to your computer and use it in GitHub Desktop.
package main
import (
"encoding/json"
"fmt"
)
type YoutubeFeed struct {
Version string `json:"version"`
Encoding string `json:"encoding"`
Feed struct {
Xmlns string `json:"xmlns"`
XmlnsOpenSearch string `json:"xmlns$openSearch"`
XmlnsYt string `json:"xmlns$yt"`
Id struct {
T string `json:"$t"`
} `json:"id"`
Updated struct {
T string `json:"$t"`
} `json:"updated"`
Category []struct {
Scheme string `json:"scheme"`
Term string `json:"term"`
} `json:"category"`
Logo struct {
T string `json:"$t"`
} `json:"logo"`
Link []struct {
Rel string `json:"rel"`
Type string `json:"type"`
Href string `json:"href"`
} `json:"link"`
Author []struct {
Name struct {
T string `json:"$t"`
} `json:"name"`
Uri struct {
T string `json:"$t"`
} `json:"uri"`
} `json:"author"`
Generator struct {
T string `json:"$t"`
Version string `json:"version"`
Uri string `json:"uri"`
} `json:"generator"`
OpenSearchTotalResults struct {
T int `json:"$t"`
} `json:"openSearchTotalResults"`
OpenSearchStartIndex struct {
T int `json:"$t"`
} `json:"openSearch$startIndex"`
OpenSearchItemsPerPage struct {
T int `json:"$t"`
} `json:"openSearch$itemsPerPage"`
Entry []struct {
Id struct {
T string `json:"$t"`
} `json:"id"`
Published struct {
T string `json:"$t"`
} `json:"published"`
Updated struct {
T string `json:"$t"`
} `json:"updated"`
Category []struct {
Scheme string `json:"scheme"`
Term string `json:"term"`
} `json:"category"`
Title struct {
T string `json:"$t"`
Type string `json:"type"`
} `json:"title"`
Content struct {
T string `json:"$t"`
Type string `json:"type"`
} `json:"content"`
Link []struct {
Rel string `json:"rel"`
Type string `json:"type"`
Href string `json:"href"`
} `json:"link"`
Author []struct {
Name struct {
T string `json:"$t"`
} `json:"name"`
Uri struct {
T string `json:"$t"`
} `json:"uri"`
} `json:"author"`
YtChannelId struct {
T string `json:"$t"`
} `json:"yt$channelId"`
YtGooglePlusUserId struct {
T string `json:"$t"`
} `json:"yt$googlePlusUserId"`
YtReplyCount struct {
T int `json:"$t"`
} `json:"yt$replyCount"`
YtVideoid struct {
T string `json:"$t"`
} `json:"yt$videoid"`
} `json:"entry"`
} `json:"feed"`
}
func main() {
var feed YoutubeFeed
json.Unmarshal([]byte(input), &feed)
for _, entry := range feed.Feed.Entry {
fmt.Println(entry.Title)
}
}
var input = `
{
"feed": {
"entry": [
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 4
},
"yt$googlePlusUserId": {
"$t": "115585668883361811533"
},
"yt$channelId": {
"$t": "UCZWsBt3250PMnIJi_mx9bDw"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13cwthjfnyoctbig04ccjvatznzehg4k54"
},
"published": {
"$t": "2015-02-12T12:20:22.000Z"
},
"updated": {
"$t": "2015-02-12T12:20:22.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "Remember when ..."
},
"content": {
"type": "text",
"$t": "Remember when Freddy actually made good videos? Now he's become such a \nsellout. Money changes people."
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13cwthjfnyoctbig04ccjvatznzehg4k54",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/BoxxyFan"
},
"name": {
"$t": "BoxxyFan"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 2
},
"yt$googlePlusUserId": {
"$t": "113507729062588897706"
},
"yt$channelId": {
"$t": "UCe9mBZYaqHvhGQZsjgaNIPA"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13lejzx1lfvtj4n122dtd4qlwyudnlbe04"
},
"published": {
"$t": "2015-02-11T14:34:44.000Z"
},
"updated": {
"$t": "2015-02-11T14:34:44.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "What happened to a ..."
},
"content": {
"type": "text",
"$t": "What happened to a good old fight instead of all this editing bullshit?"
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13lejzx1lfvtj4n122dtd4qlwyudnlbe04",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/SANNAFABICH"
},
"name": {
"$t": "SANAFABICH"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 13
},
"yt$googlePlusUserId": {
"$t": "114421793398023543792"
},
"yt$channelId": {
"$t": "UC4tznCXxHfyl-x1K-ylLlyQ"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z135vrxqewqxevnpt04ce51i0mj0htqhcl40k"
},
"published": {
"$t": "2015-02-10T02:06:29.000Z"
},
"updated": {
"$t": "2015-02-10T02:07:04.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "what is the blonde ..."
},
"content": {
"type": "text",
"$t": "what is the blonde british guy's name? the one on the bad side with short \nhair. he's so hot"
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z135vrxqewqxevnpt04ce51i0mj0htqhcl40k",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/anguy11"
},
"name": {
"$t": "anguy11"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 4
},
"yt$googlePlusUserId": {
"$t": "103527656611826152430"
},
"yt$channelId": {
"$t": "UC7Q6Z7joTxMlHuXVQKDJyLw"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13jsrtojmf0f5ost23yubrjzyjydb2nv"
},
"published": {
"$t": "2015-02-09T20:43:43.000Z"
},
"updated": {
"$t": "2015-02-09T20:43:43.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "New video! A fight ..."
},
"content": {
"type": "text",
"$t": "New video! A fight scene with a distinctly Kingsman vibe!"
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13jsrtojmf0f5ost23yubrjzyjydb2nv",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/waresz66"
},
"name": {
"$t": "Zoltán Varga"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 3
},
"yt$googlePlusUserId": {
"$t": "115404182507723122393"
},
"yt$channelId": {
"$t": "UCf5RJfn6ZxjIflegByaiPNg"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z12vuhjplpqnz3qam04chbn4hymkip2ien40k"
},
"published": {
"$t": "2015-02-11T21:55:43.000Z"
},
"updated": {
"$t": "2015-02-11T21:55:43.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "Pretty cool and ..."
},
"content": {
"type": "text",
"$t": "Pretty cool and plugging for featuring a friend from school, Reuben \nLangdon. He's mostly known for Dante in in a few of the DMC games and Ken \nin recent Street Fighter games."
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z12vuhjplpqnz3qam04chbn4hymkip2ien40k",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/f5RJfn6ZxjIflegByaiPNg"
},
"name": {
"$t": "Ryan A"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 1
},
"yt$googlePlusUserId": {
"$t": "111106293256135959375"
},
"yt$channelId": {
"$t": "UC3KRZIpiaUo4txkj9fHS4GA"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13xsfjqqyr3ivgan04cflcyxqurelszhds"
},
"published": {
"$t": "2015-02-14T20:34:19.000Z"
},
"updated": {
"$t": "2015-02-14T20:34:19.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "Kingsmen Style"
},
"content": {
"type": "text",
"$t": "Kingsmen Style"
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13xsfjqqyr3ivgan04cflcyxqurelszhds",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/jeremiah2607"
},
"name": {
"$t": "Jay Flemming"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 1
},
"yt$googlePlusUserId": {
"$t": "109593238549051584043"
},
"yt$channelId": {
"$t": "UC3zIWgiiAG18iolqFHICL7A"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13ltpcqxxjax55i404cdpgzsyrzuhewqw00k"
},
"published": {
"$t": "2015-02-18T14:01:18.000Z"
},
"updated": {
"$t": "2015-02-18T14:01:18.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "Freddie you guys ..."
},
"content": {
"type": "text",
"$t": "Freddie you guys need to team up with Warner bros and make this a movie!"
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13ltpcqxxjax55i404cdpgzsyrzuhewqw00k",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/1Robertmixon"
},
"name": {
"$t": "Robby Mixon"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 0
},
"yt$googlePlusUserId": {
"$t": "117871847268787869176"
},
"yt$channelId": {
"$t": "UCZZBWPnZoU79UwPEDOx7b9A"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z12jdx351oufftjwu04chdqgdkrzhfoibrw0k"
},
"published": {
"$t": "2015-02-20T13:00:03.000Z"
},
"updated": {
"$t": "2015-02-20T13:00:03.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "4:24 As I am from ..."
},
"content": {
"type": "text",
"$t": "4:24 As I am from England, I can confirm this is how we get around London."
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z12jdx351oufftjwu04chdqgdkrzhfoibrw0k",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/ZZBWPnZoU79UwPEDOx7b9A"
},
"name": {
"$t": "Thomas Lynn"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 0
},
"yt$googlePlusUserId": {
"$t": "100330595576330561340"
},
"yt$channelId": {
"$t": "UCDFfmAx6RhH984Jv7tEv9UQ"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13hwhswsmuizbbrp04chjpgsq3cx5tpmfw"
},
"published": {
"$t": "2015-02-19T22:20:25.000Z"
},
"updated": {
"$t": "2015-02-19T22:20:25.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "Actually they shoot ..."
},
"content": {
"type": "text",
"$t": "Actually they shoot fight scenes better than in many movies that I saw, \nincluding high-budget ones, where the camera usually is extremely zoomed in \nand the perspective is changed after each hit or two, so you have no \nfucking idea what is going on."
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13hwhswsmuizbbrp04chjpgsq3cx5tpmfw",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/Araycan"
},
"name": {
"$t": "Shajirr"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 0
},
"yt$googlePlusUserId": {
"$t": "105372221991553581035"
},
"yt$channelId": {
"$t": "UCwUCwW9MeJnrHNWaxi4Q1Gw"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z12aezdgaw3ri33lc22kibk4azbtjd13h"
},
"published": {
"$t": "2015-02-19T03:11:12.000Z"
},
"updated": {
"$t": "2015-02-19T03:11:12.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "its sad this only ..."
},
"content": {
"type": "text",
"$t": "its sad this only has 1 million views while pewds gets like 30 billion views\n\nfreddiew deserves more credit"
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z12aezdgaw3ri33lc22kibk4azbtjd13h",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/omegamagna"
},
"name": {
"$t": "omegamagna"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 1
},
"yt$googlePlusUserId": {
"$t": "115092034835548601552"
},
"yt$channelId": {
"$t": "UCdRpkbJGBbRtSPG-mq-9zWQ"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13mthfqbye0c5ppj04ce3ypevq3sb5xtlw0k"
},
"published": {
"$t": "2015-02-09T23:04:26.000Z"
},
"updated": {
"$t": "2015-02-09T23:04:26.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "Loved it! I missed ..."
},
"content": {
"type": "text",
"$t": "Loved it! I missed these kinds of videos"
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13mthfqbye0c5ppj04ce3ypevq3sb5xtlw0k",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/RazerwireFreak"
},
"name": {
"$t": "RazerwireFreak"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 0
},
"yt$googlePlusUserId": {
"$t": "103222279002081998799"
},
"yt$channelId": {
"$t": "UCLcnPzSvRKuQXCRbRtMjr9w"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13rhtmqjxqlyflyf04ch30axoeldvqg3z40k"
},
"published": {
"$t": "2015-02-20T11:27:01.000Z"
},
"updated": {
"$t": "2015-02-20T11:27:01.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "Yes its just like ..."
},
"content": {
"type": "text",
"$t": "Yes its just like Kingsmen The Secret Service"
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13rhtmqjxqlyflyf04ch30axoeldvqg3z40k",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/Epic1DJ"
},
"name": {
"$t": "Epic1Dj"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 1
},
"yt$googlePlusUserId": {
"$t": "110989840532084056057"
},
"yt$channelId": {
"$t": "UCx3dM4iDbrTAj-ZlBFoXzKQ"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13ztbiwoqy2cfmxz04cizdh2n31znba0nk0k"
},
"published": {
"$t": "2015-02-10T11:11:59.000Z"
},
"updated": {
"$t": "2015-02-10T11:11:59.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "They really are ..."
},
"content": {
"type": "text",
"$t": "They really are falling over bananas XD\nWhat is this? Looney Toons?"
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13ztbiwoqy2cfmxz04cizdh2n31znba0nk0k",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/crownedfox"
},
"name": {
"$t": "crownedfox"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 0
},
"yt$googlePlusUserId": {
"$t": "110457364453562857628"
},
"yt$channelId": {
"$t": "UCjjZRfZabT7XdtKZBv1ys5Q"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z12mdp2ppov0u55mu22jxh5grqifxrmol04"
},
"published": {
"$t": "2015-02-19T22:36:41.000Z"
},
"updated": {
"$t": "2015-02-19T22:37:01.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "The old Freddie is ..."
},
"content": {
"type": "text",
"$t": "The old Freddie is back \\o/"
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z12mdp2ppov0u55mu22jxh5grqifxrmol04",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/sninjafx"
},
"name": {
"$t": "Sninja Project"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 1
},
"yt$googlePlusUserId": {
"$t": "109333226494751177303"
},
"yt$channelId": {
"$t": "UCpLrHrPqyUWoOzjg-peNjrQ"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13ajzq42ou3fb5cx23jvtiwctawd11xd04"
},
"published": {
"$t": "2015-02-11T00:09:34.000Z"
},
"updated": {
"$t": "2015-02-11T00:09:34.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "As soon as I saw ..."
},
"content": {
"type": "text",
"$t": "As soon as I saw the British guy with the glasses I immediately thought of \nKingsman: The Secret Service."
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13ajzq42ou3fb5cx23jvtiwctawd11xd04",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/pLrHrPqyUWoOzjg-peNjrQ"
},
"name": {
"$t": "FocasciousMe"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 1
},
"yt$googlePlusUserId": {
"$t": "114676142044760017375"
},
"yt$channelId": {
"$t": "UC96Kvn9sI9U_yte4haU4BvQ"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z12bcxgrnpmthjg2x225cn2iymvffzoxz04"
},
"published": {
"$t": "2015-02-18T21:19:33.000Z"
},
"updated": {
"$t": "2015-02-18T21:19:33.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "Freddie what ..."
},
"content": {
"type": "text",
"$t": "Freddie what software did you use before your career as a youtuber"
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z12bcxgrnpmthjg2x225cn2iymvffzoxz04",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/96Kvn9sI9U_yte4haU4BvQ"
},
"name": {
"$t": "Echo Lee"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 0
},
"yt$googlePlusUserId": {
"$t": "108303036762226898974"
},
"yt$channelId": {
"$t": "UCR4egCS-zPERbEskoT4zz3w"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z12pd5eqmlnrzl2ai04ccdzzux3gvdshpps0k"
},
"published": {
"$t": "2015-02-19T13:41:49.000Z"
},
"updated": {
"$t": "2015-02-19T13:41:49.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "YEah good oll' ..."
},
"content": {
"type": "text",
"$t": "YEah good oll' freddiew video. hmm love those"
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z12pd5eqmlnrzl2ai04ccdzzux3gvdshpps0k",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/R4egCS-zPERbEskoT4zz3w"
},
"name": {
"$t": "Magikarp"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 5
},
"yt$googlePlusUserId": {
"$t": "115682664883701326363"
},
"yt$channelId": {
"$t": "UCG-wfitndqq52ZBSSp9b4lg"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13svlmxaoz3jtwfm22awzepsze2tjav4"
},
"published": {
"$t": "2015-02-09T19:45:13.000Z"
},
"updated": {
"$t": "2015-02-09T19:45:13.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "Did anyone else ..."
},
"content": {
"type": "text",
"$t": "Did anyone else notice the crash bandicoot reference?"
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13svlmxaoz3jtwfm22awzepsze2tjav4",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/G-wfitndqq52ZBSSp9b4lg"
},
"name": {
"$t": "francesco lombardi"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 0
},
"yt$googlePlusUserId": {
"$t": "102318484057103343023"
},
"yt$channelId": {
"$t": "UCL6GCBiIjxrWnEttiEEKyDA"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z12ltde5qsauclapg04cflrwux2jv15yjsw0k"
},
"published": {
"$t": "2015-02-20T00:42:31.000Z"
},
"updated": {
"$t": "2015-02-20T00:42:31.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "Why did I stop ..."
},
"content": {
"type": "text",
"$t": "Why did I stop watching Freddiew Vids OH WAIT VGHS"
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z12ltde5qsauclapg04cflrwux2jv15yjsw0k",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/L6GCBiIjxrWnEttiEEKyDA"
},
"name": {
"$t": "Light's Blade"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 0
},
"yt$googlePlusUserId": {
"$t": "108113506288642885712"
},
"yt$channelId": {
"$t": "UCDoh72X-_-egCDOIBZrX9uQ"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13aupqrmvrvt1flc23mdhagrt3vf1yso"
},
"published": {
"$t": "2015-02-19T04:18:24.000Z"
},
"updated": {
"$t": "2015-02-19T04:18:24.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "I like how Freddie ..."
},
"content": {
"type": "text",
"$t": "I like how Freddie goes from bumbling tourist to kung-fu master lol"
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z13aupqrmvrvt1flc23mdhagrt3vf1yso",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/KravVolder"
},
"name": {
"$t": "Streptovsky"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 5
},
"yt$googlePlusUserId": {
"$t": "110850051377521655526"
},
"yt$channelId": {
"$t": "UCh7lXO_vVWwn_a15vPdZmAA"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z12dezlwquj0tbb0m23au3xz1w3oz1kw004"
},
"published": {
"$t": "2015-02-11T16:12:51.000Z"
},
"updated": {
"$t": "2015-02-11T16:13:36.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "Cheap.\nNo plot. ..."
},
"content": {
"type": "text",
"$t": "Cheap.\nNo plot. There is no point.\nUsed filthy program.\nNo natural effektra only VFC.\nWorse even than Hollywood."
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z12dezlwquj0tbb0m23au3xz1w3oz1kw004",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/h7lXO_vVWwn_a15vPdZmAA"
},
"name": {
"$t": "Welt Rogg"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 0
},
"yt$googlePlusUserId": {
"$t": "116897275638090873582"
},
"yt$channelId": {
"$t": "UCzMIF_YA455Jozb7ojP86YA"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z12wy5hwhwqeivwt122ah3c5aonqjzz4j04"
},
"published": {
"$t": "2015-02-20T20:30:52.000Z"
},
"updated": {
"$t": "2015-02-20T20:30:52.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "it's like watching ..."
},
"content": {
"type": "text",
"$t": "it's like watching jackie chan's movie\nbut without jackie chan"
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z12wy5hwhwqeivwt122ah3c5aonqjzz4j04",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/zMIF_YA455Jozb7ojP86YA"
},
"name": {
"$t": "Yodha Pratama"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 2
},
"yt$googlePlusUserId": {
"$t": "105007439512687668187"
},
"yt$channelId": {
"$t": "UC0ntE9OXvBtrCd23U5WTaog"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z121vruhyy3kgtftf22evbpxcyjiyhqdz"
},
"published": {
"$t": "2015-02-11T09:19:42.000Z"
},
"updated": {
"$t": "2015-02-11T09:19:42.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "Was this inspired ..."
},
"content": {
"type": "text",
"$t": "Was this inspired by stick figure umbrella?"
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z121vruhyy3kgtftf22evbpxcyjiyhqdz",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/0ntE9OXvBtrCd23U5WTaog"
},
"name": {
"$t": "Adam Thomson"
}
}
]
},
{
"yt$videoid": {
"$t": "CpasSV_mw2o"
},
"yt$replyCount": {
"$t": 2
},
"yt$googlePlusUserId": {
"$t": "106048501974069354255"
},
"yt$channelId": {
"$t": "UCvtzIpvQqWWh_3yPmPJieCA"
},
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z12ux3vwapf3sdtqo04chfm5jlzai5oxkx40k"
},
"published": {
"$t": "2015-02-10T15:14:47.000Z"
},
"updated": {
"$t": "2015-02-10T15:14:47.000Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"title": {
"type": "text",
"$t": "How did they get ..."
},
"content": {
"type": "text",
"$t": "How did they get Danny from Game Grumps into their movie, though?"
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o",
"type": "application/atom+xml",
"rel": "related"
},
{
"href": "https://www.youtube.com/watch?v=CpasSV_mw2o",
"type": "text/html",
"rel": "alternate"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/z12ux3vwapf3sdtqo04chfm5jlzai5oxkx40k",
"type": "application/atom+xml",
"rel": "self"
}
],
"author": [
{
"uri": {
"$t": "https://gdata.youtube.com/feeds/api/users/RyNsWoRLD"
},
"name": {
"$t": "RyNsWoRLD"
}
}
]
}
],
"openSearch$itemsPerPage": {
"$t": 25
},
"openSearch$startIndex": {
"$t": 25
},
"openSearch$totalResults": {
"$t": 100
},
"generator": {
"uri": "http://gdata.youtube.com",
"version": "2.1",
"$t": "YouTube data API"
},
"author": [
{
"uri": {
"$t": "http://www.youtube.com/"
},
"name": {
"$t": "YouTube"
}
}
],
"xmlns": "http://www.w3.org/2005/Atom",
"xmlns$openSearch": "http://a9.com/-/spec/opensearchrss/1.0/",
"xmlns$yt": "http://gdata.youtube.com/schemas/2007",
"id": {
"$t": "http://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments"
},
"updated": {
"$t": "2015-02-21T00:03:22.017Z"
},
"category": [
{
"term": "http://gdata.youtube.com/schemas/2007#comment",
"scheme": "http://schemas.google.com/g/2005#kind"
}
],
"logo": {
"$t": "http://www.gstatic.com/youtube/img/logo.png"
},
"link": [
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments",
"type": "application/atom+xml",
"rel": "http://schemas.google.com/g/2005#feed"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments/batch",
"type": "application/atom+xml",
"rel": "http://schemas.google.com/g/2005#batch"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments?alt=json&start-index=26&max-results=25",
"type": "application/atom+xml",
"rel": "self"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments?alt=json&start-index=1&max-results=25&direction=previous",
"type": "application/atom+xml",
"rel": "previous"
},
{
"href": "https://gdata.youtube.com/feeds/api/videos/CpasSV_mw2o/comments?alt=json&alt=json&start-token=Cg0Qz6eerd7xwwIgACgBEuMDCAAQmMyO7q7xwwIq1QPPk4uXmP7KjBKL8OT%2FhfPt7ZQBlfbdiojhqeQpr9P5paWD6I%2F9AeT3xqmXzrLBwgHv%2Fv%2FtzZbhi7wB7Z2C7eObx7%2BTAam6xNjgov2N9QH39%2F6FkK%2B3iAbDyovJgIK61z2bgsLT5%2Ba0jYoBuu3w6b%2FH08Ym8pySsLLb4JfXAfbq9NGelISgyQGUjOn2xMOl%2FCDb%2F9b4%2Bv%2FmjYIBwPawosCzt8bTAYL0mMD%2F7%2FfAB5bv5Y%2FnkIDtf7uAsKn9kpqy3AHR%2FL6nieq0mTCj2%2F6Bi4Dr0HOD4rqW5LnSn90Bhtrs7pLCuoIRjdO5tY2wvc0Pwonn5f%2F5%2BfvwAdi6gb2Ak%2BH1AuuX6IPfg4jWNqiq7syfkJfyaK%2Bi5fSN67rFSdnjjtiI8b7mc8a%2B5PXq9NebT5%2FvoKut1tvLAtGKkIT89briD9Olg63ZipDmddeNqt%2B%2Fpaasd%2FKG3Ouk3o7qO%2BODz%2Fe704TZIbDxlazJy5WEHtHa0ennufi9rwGCpbXSqYWszXCwioSa7MyIuZEBnYPptob5%2BJlFzKTmkf6Yl7hTyoTMq%2B7xlaG%2FAdK%2BmaO7%2FrayEIyWxZzI8MjMR5nW%2F%2FSQgrXq2wGjks%2BK94OP%2FmXKr93cq8y%2F98ABGAEgMg%3D%3D&max-results=25",
"type": "application/atom+xml",
"rel": "next"
}
]
},
"encoding": "UTF-8",
"version": "1.0"
}
`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment