funkwhale/api/tests/data/youtube.py

145 wiersze
6.1 KiB
Python
Czysty Zwykły widok Historia

search = {}
2018-06-09 13:36:16 +00:00
search["8 bit adventure"] = {
"pageInfo": {"totalResults": 1000000, "resultsPerPage": 25},
"nextPageToken": "CBkQAA",
2018-06-09 13:36:16 +00:00
"etag": '"gMxXHe-zinKdE9lTnzKu8vjcmDI/1L34zetsKWv-raAFiz0MuT0SsfQ"',
"items": [
{
2018-06-09 13:36:16 +00:00
"id": {"videoId": "0HxZn6CzOIo", "kind": "youtube#video"},
"etag": '"gMxXHe-zinKdE9lTnzKu8vjcmDI/GxK-wHBWUYfrJsd1dijBPTufrVE"',
"snippet": {
"liveBroadcastContent": "none",
"description": "Make sure to apply adhesive evenly before use. GET IT HERE: http://adhesivewombat.bandcamp.com/album/marsupial-madness Facebook: ...",
"channelId": "UCps63j3krzAG4OyXeEyuhFw",
"title": "AdhesiveWombat - 8 Bit Adventure",
"channelTitle": "AdhesiveWombat",
"publishedAt": "2012-08-22T18:41:03.000Z",
"thumbnails": {
"medium": {
"url": "https://i.ytimg.com/vi/0HxZn6CzOIo/mqdefault.jpg",
"height": 180,
2018-06-09 13:36:16 +00:00
"width": 320,
},
"high": {
"url": "https://i.ytimg.com/vi/0HxZn6CzOIo/hqdefault.jpg",
"height": 360,
2018-06-09 13:36:16 +00:00
"width": 480,
},
"default": {
"url": "https://i.ytimg.com/vi/0HxZn6CzOIo/default.jpg",
"height": 90,
2018-06-09 13:36:16 +00:00
"width": 120,
},
},
},
2018-06-09 13:36:16 +00:00
"kind": "youtube#searchResult",
},
{
2018-06-09 13:36:16 +00:00
"id": {"videoId": "n4A_F5SXmgo", "kind": "youtube#video"},
"etag": '"gMxXHe-zinKdE9lTnzKu8vjcmDI/aRVESw24jlgiErDgJKxNrazKRDc"',
"snippet": {
"liveBroadcastContent": "none",
"description": "Free Download: http://bit.ly/1fZ1pMJ I don't post 8 bit'ish music much but damn I must admit this is goood! Enjoy \u2665 \u25bbSpikedGrin: ...",
"channelId": "UCMOgdURr7d8pOVlc-alkfRg",
"title": "\u3010Electro\u3011AdhesiveWombat - 8 Bit Adventure (SpikedGrin Remix) [Free Download]",
"channelTitle": "xKito Music",
"publishedAt": "2013-10-27T13:16:48.000Z",
"thumbnails": {
"medium": {
"url": "https://i.ytimg.com/vi/n4A_F5SXmgo/mqdefault.jpg",
"height": 180,
2018-06-09 13:36:16 +00:00
"width": 320,
},
"high": {
"url": "https://i.ytimg.com/vi/n4A_F5SXmgo/hqdefault.jpg",
"height": 360,
2018-06-09 13:36:16 +00:00
"width": 480,
},
"default": {
"url": "https://i.ytimg.com/vi/n4A_F5SXmgo/default.jpg",
"height": 90,
2018-06-09 13:36:16 +00:00
"width": 120,
},
},
},
2018-06-09 13:36:16 +00:00
"kind": "youtube#searchResult",
},
],
"regionCode": "FR",
2018-06-09 13:36:16 +00:00
"kind": "youtube#searchListResponse",
}
2018-06-09 13:36:16 +00:00
search["system of a down toxicity"] = {
"items": [
{
2018-06-09 13:36:16 +00:00
"id": {"kind": "youtube#video", "videoId": "BorYwGi2SJc"},
"kind": "youtube#searchResult",
"snippet": {
"title": "System of a Down: Toxicity",
"channelTitle": "Vedres Csaba",
"channelId": "UCBXeuQORNwPv4m68fgGMtPQ",
"thumbnails": {
"default": {
"height": 90,
"width": 120,
2018-06-09 13:36:16 +00:00
"url": "https://i.ytimg.com/vi/BorYwGi2SJc/default.jpg",
},
"high": {
"height": 360,
"width": 480,
2018-06-09 13:36:16 +00:00
"url": "https://i.ytimg.com/vi/BorYwGi2SJc/hqdefault.jpg",
},
"medium": {
"height": 180,
"width": 320,
2018-06-09 13:36:16 +00:00
"url": "https://i.ytimg.com/vi/BorYwGi2SJc/mqdefault.jpg",
},
},
"publishedAt": "2007-12-17T12:39:54.000Z",
"description": "http://www.vedrescsaba.uw.hu The System of a Down song Toxicity arranged for a classical piano quintet, played by Vedres Csaba and the Kairosz quartet.",
2018-06-09 13:36:16 +00:00
"liveBroadcastContent": "none",
},
2018-06-09 13:36:16 +00:00
"etag": '"gMxXHe-zinKdE9lTnzKu8vjcmDI/UwR8H6P6kbijNZmBNkYd2jAzDnI"',
},
{
2018-06-09 13:36:16 +00:00
"id": {"kind": "youtube#video", "videoId": "ENBv2i88g6Y"},
"kind": "youtube#searchResult",
"snippet": {
"title": "System Of A Down - Question!",
"channelTitle": "systemofadownVEVO",
"channelId": "UCvtZDkeFxMkRTNqfqXtxxkw",
"thumbnails": {
"default": {
"height": 90,
"width": 120,
2018-06-09 13:36:16 +00:00
"url": "https://i.ytimg.com/vi/ENBv2i88g6Y/default.jpg",
},
"high": {
"height": 360,
"width": 480,
2018-06-09 13:36:16 +00:00
"url": "https://i.ytimg.com/vi/ENBv2i88g6Y/hqdefault.jpg",
},
"medium": {
"height": 180,
"width": 320,
2018-06-09 13:36:16 +00:00
"url": "https://i.ytimg.com/vi/ENBv2i88g6Y/mqdefault.jpg",
},
},
"publishedAt": "2009-10-03T04:49:03.000Z",
"description": "System of a Down's official music video for 'Question!'. Click to listen to System of a Down on Spotify: http://smarturl.it/SystemSpotify?IQid=SystemQu As featured ...",
2018-06-09 13:36:16 +00:00
"liveBroadcastContent": "none",
},
2018-06-09 13:36:16 +00:00
"etag": '"gMxXHe-zinKdE9lTnzKu8vjcmDI/dB-M0N9mB4xE-k4yAF_4d8aU0I4"',
},
],
2018-06-09 13:36:16 +00:00
"etag": '"gMxXHe-zinKdE9lTnzKu8vjcmDI/yhLQgSpeObNnybd5JqSzlGiJ8Ew"',
"nextPageToken": "CBkQAA",
2018-06-09 13:36:16 +00:00
"pageInfo": {"resultsPerPage": 25, "totalResults": 26825},
"kind": "youtube#searchListResponse",
2018-06-09 13:36:16 +00:00
"regionCode": "FR",
}