前面是API后面是内容 最后是Key
https://www.googleapis.com/youtube/v3/search?part=snippet&channelId=UCLsooMJoIpl_7ux2jvdPB-Q&key=

API文档 https://developers.google.com/youtube/v3/getting-started
上一页下一页都是需要pagetoken,获取到会显示。

JSON代码,后期在研究

{
"kind": "youtube#searchListResponse",
"etag": ""xwzn9fn_LczrfK9QS3iZcGzqRGs/bunRe3eu7hlC82P_2XFM7cI_fbs"",
"nextPageToken": "CAUQAA",
"regionCode": "HK",
"pageInfo": {
"totalResults": 428551,
"resultsPerPage": 5
},
"items": [
{
"kind": "youtube#searchResult",
"etag": ""xwzn9fn_LczrfK9QS3iZcGzqRGs/HvYMcUnf1COtDA6j8lkkChNnvYs"",
"id": {

"kind": "youtube#video",
"videoId": "hNkvV4PR-q0"

},
"snippet": {

"publishedAt": "2014-11-26T11:30:02.000Z",
"channelId": "UCLsooMJoIpl_7ux2jvdPB-Q",
"title": "We Wish You A Merry Christmas | Super Simple Songs",
"description": "More great Super Simple videos in the Super Simple App for iOS ▻ http://apple.co/2nW5hPd This is the Super Simple version of the classic Christmas carol, \"We ...",
"thumbnails": {
 "default": {
  "url": "https://i.ytimg.com/vi/hNkvV4PR-q0/default.jpg",
  "width": 120,
  "height": 90
 },
 "medium": {
  "url": "https://i.ytimg.com/vi/hNkvV4PR-q0/mqdefault.jpg",
  "width": 320,
  "height": 180
 },
 "high": {
  "url": "https://i.ytimg.com/vi/hNkvV4PR-q0/hqdefault.jpg",
  "width": 480,
  "height": 360
 }
},
"channelTitle": "Super Simple Songs - Kids Songs",
"liveBroadcastContent": "none"

}
},
{
"kind": "youtube#searchResult",
"etag": ""xwzn9fn_LczrfK9QS3iZcGzqRGs/NgIfne9WYWyjU-sW31ZIbUUtVHU"",
"id": {

"kind": "youtube#video",
"videoId": "tVlcKp3bWH8"

},
"snippet": {

"publishedAt": "2015-04-08T12:00:05.000Z",
"channelId": "UCLsooMJoIpl_7ux2jvdPB-Q",
"title": "Hello! | Super Simple Songs",
"description": "More great Super Simple videos in the Super Simple App for iOS ▻ http://apple.co/2nW5hPd Start off your lesson with \"Hello!\", a fun and energetic song to talk ...",
"thumbnails": {
 "default": {
  "url": "https://i.ytimg.com/vi/tVlcKp3bWH8/default.jpg",
  "width": 120,
  "height": 90
 },
 "medium": {
  "url": "https://i.ytimg.com/vi/tVlcKp3bWH8/mqdefault.jpg",
  "width": 320,
  "height": 180
 },
 "high": {
  "url": "https://i.ytimg.com/vi/tVlcKp3bWH8/hqdefault.jpg",
  "width": 480,
  "height": 360
 }
},
"channelTitle": "Super Simple Songs - Kids Songs",
"liveBroadcastContent": "none"

}
},
{
"kind": "youtube#searchResult",
"etag": ""xwzn9fn_LczrfK9QS3iZcGzqRGs/4g9tZWtkuknnjG1SYTbGLMWty0U"",
"id": {

"kind": "youtube#video",
"videoId": "WX8HmogNyCY"

},
"snippet": {

"publishedAt": "2015-07-15T15:30:01.000Z",
"channelId": "UCLsooMJoIpl_7ux2jvdPB-Q",
"title": "Head Shoulders Knees & Toes (Speeding Up) | Nursery Rhyme | Super Simple Songs",
"description": "Watch videos from Super Simple in the Super Simple App for iOS! ▻ http://apple.co/2nW5hPd Head Shoulders Knees & Toes (Speeding Up) from Super Simple ...",
"thumbnails": {
 "default": {
  "url": "https://i.ytimg.com/vi/WX8HmogNyCY/default.jpg",
  "width": 120,
  "height": 90
 },
 "medium": {
  "url": "https://i.ytimg.com/vi/WX8HmogNyCY/mqdefault.jpg",
  "width": 320,
  "height": 180
 },
 "high": {
  "url": "https://i.ytimg.com/vi/WX8HmogNyCY/hqdefault.jpg",
  "width": 480,
  "height": 360
 }
},
"channelTitle": "Super Simple Songs - Kids Songs",
"liveBroadcastContent": "none"

}
},
{
"kind": "youtube#searchResult",
"etag": ""xwzn9fn_LczrfK9QS3iZcGzqRGs/AW__ila-fuEq-BhOUIFr8axml60"",
"id": {

"kind": "youtube#video",
"videoId": "ZUi1YJVChpg"

},
"snippet": {

"publishedAt": "2014-11-19T11:30:03.000Z",
"channelId": "UCLsooMJoIpl_7ux2jvdPB-Q",
"title": "Hello, Reindeer | Children's Christmas Song",
"description": "Get the Super Simple App for iOS! ▻ apple.co/2nW5hPd Greet your friends with this holiday Hello song! Hello, Reindeer! Hello, Snowman! Hello, Santa!",
"thumbnails": {
 "default": {
  "url": "https://i.ytimg.com/vi/ZUi1YJVChpg/default.jpg",
  "width": 120,
  "height": 90
 },
 "medium": {
  "url": "https://i.ytimg.com/vi/ZUi1YJVChpg/mqdefault.jpg",
  "width": 320,
  "height": 180
 },
 "high": {
  "url": "https://i.ytimg.com/vi/ZUi1YJVChpg/hqdefault.jpg",
  "width": 480,
  "height": 360
 }
},
"channelTitle": "Super Simple Songs - Kids Songs",
"liveBroadcastContent": "none"

}
},
{
"kind": "youtube#searchResult",
"etag": ""xwzn9fn_LczrfK9QS3iZcGzqRGs/AdFNDZSw1WSTmk4yDwZ_WwbwTQQ"",
"id": {

"kind": "youtube#video",
"videoId": "loINl3Ln6Ck"

},
"snippet": {

"publishedAt": "2016-04-26T15:30:00.000Z",
"channelId": "UCLsooMJoIpl_7ux2jvdPB-Q",
"title": "Days Of The Week Song | Kids Songs | Super Simple Songs",
"description": "Watch this video and MUCH more in the Super Simple App for iOS! ▻ http://apple.co/2nW5hPd Learn the days of the week! Watch 60 minutes of our best ...",
"thumbnails": {
 "default": {
  "url": "https://i.ytimg.com/vi/loINl3Ln6Ck/default.jpg",
  "width": 120,
  "height": 90
 },
 "medium": {
  "url": "https://i.ytimg.com/vi/loINl3Ln6Ck/mqdefault.jpg",
  "width": 320,
  "height": 180
 },
 "high": {
  "url": "https://i.ytimg.com/vi/loINl3Ln6Ck/hqdefault.jpg",
  "width": 480,
  "height": 360
 }
},
"channelTitle": "Super Simple Songs - Kids Songs",
"liveBroadcastContent": "none"

}
}
]
}

最后修改:2020 年 04 月 07 日
家里小猪缺粮食啦。快投喂!