Skip to content

Instantly share code, notes, and snippets.

@askvictor
Last active June 21, 2016 11:09
Show Gist options
  • Save askvictor/119c24b6fc46a77b349b307457e1a027 to your computer and use it in GitHub Desktop.
Save askvictor/119c24b6fc46a77b349b307457e1a027 to your computer and use it in GitHub Desktop.
use strict;
use warnings;
my $data = foo();
print "$data\n";
print "$data->{song_hits}\n";
print "$data->{song_hits}[0]\n";
for my $hit (@{$data->{song_hits}}){
print "$hit->{track}->{title}\n";
}
use Inline Python => <<'END_OF_PYTHON_CODE';
def foo():
return {
u'video_hits': [
{
u'navigational_result': False,
u'score': 15178.8525390625,
u'type': u'8',
u'best_result': False,
u'youtube_video': {
u'kind': u'sj#video',
u'id': u'TTAU7lLDZYU',
u'thumbnails': [{u'url': u'https://i.ytimg.com/vi/TTAU7lLDZYU/mqdefault.jpg'
, u'width': 320, u'height': 180}],
u'title': u'Radiohead - Daydreaming',
},
},
{
u'navigational_result': False,
u'score': 9532.7197265625,
u'type': u'8',
u'best_result': False,
u'youtube_video': {
u'kind': u'sj#video',
u'id': u'yI2oS2hoL0k',
u'thumbnails': [{u'url': u'https://i.ytimg.com/vi/yI2oS2hoL0k/mqdefault.jpg'
, u'width': 320, u'height': 180}],
u'title': u'Radiohead - Burn The Witch',
},
},
{
u'navigational_result': False,
u'score': 3548.710693359375,
u'type': u'8',
u'best_result': False,
u'youtube_video': {
u'kind': u'sj#video',
u'id': u'XFkzRNyygfk',
u'thumbnails': [{u'url': u'https://i.ytimg.com/vi/XFkzRNyygfk/mqdefault.jpg'
, u'width': 320, u'height': 180}],
u'title': u'Radiohead - Creep',
},
},
{
u'navigational_result': False,
u'score': 355.4982604980469,
u'type': u'8',
u'best_result': False,
u'youtube_video': {
u'kind': u'sj#video',
u'id': u'u5CVsCnxyXg',
u'thumbnails': [{u'url': u'https://i.ytimg.com/vi/u5CVsCnxyXg/mqdefault.jpg'
, u'width': 320, u'height': 180}],
u'title': u'Radiohead - No Surprises',
},
},
{
u'navigational_result': False,
u'score': 303.3451843261719,
u'type': u'8',
u'best_result': False,
u'youtube_video': {
u'kind': u'sj#video',
u'id': u'pKd06s1LNik',
u'thumbnails': [{u'url': u'https://i.ytimg.com/vi/pKd06s1LNik/mqdefault.jpg'
, u'width': 320, u'height': 180}],
u'title': u'Radiohead - Fake Plastic Trees',
},
},
{
u'navigational_result': False,
u'score': 202.4052276611328,
u'type': u'8',
u'best_result': False,
u'youtube_video': {
u'kind': u'sj#video',
u'id': u'cfOa1a8hYP8',
u'thumbnails': [{u'url': u'https://i.ytimg.com/vi/cfOa1a8hYP8/mqdefault.jpg'
, u'width': 320, u'height': 180}],
u'title': u'Radiohead - Lotus Flower',
},
},
{
u'navigational_result': False,
u'score': 182.7104949951172,
u'type': u'8',
u'best_result': False,
u'youtube_video': {
u'kind': u'sj#video',
u'id': u'sPLEbAVjiLA',
u'thumbnails': [{u'url': u'https://i.ytimg.com/vi/sPLEbAVjiLA/mqdefault.jpg'
, u'width': 320, u'height': 180}],
u'title': u'Radiohead - Paranoid Android',
},
},
{
u'navigational_result': False,
u'score': 162.1594696044922,
u'type': u'8',
u'best_result': False,
u'youtube_video': {
u'kind': u'sj#video',
u'id': u'1uYWYWPc9HU',
u'thumbnails': [{u'url': u'https://i.ytimg.com/vi/1uYWYWPc9HU/mqdefault.jpg'
, u'width': 320, u'height': 180}],
u'title': u'Radiohead - Karma Police',
},
},
{
u'navigational_result': False,
u'score': 117.71307373046875,
u'type': u'8',
u'best_result': False,
u'youtube_video': {
u'kind': u'sj#video',
u'id': u'LCJblaUkkfc',
u'thumbnails': [{u'url': u'https://i.ytimg.com/vi/LCJblaUkkfc/mqdefault.jpg'
, u'width': 320, u'height': 180}],
u'title': u'Radiohead - Street Spirit (Fade Out)',
},
},
{
u'navigational_result': False,
u'score': 112.98526000976562,
u'type': u'8',
u'best_result': False,
u'youtube_video': {
u'kind': u'sj#video',
u'id': u'8nTFjVm9sTQ',
u'thumbnails': [{u'url': u'https://i.ytimg.com/vi/8nTFjVm9sTQ/mqdefault.jpg'
, u'width': 320, u'height': 180}],
u'title': u'Radiohead - House of Cards',
},
},
{
u'navigational_result': False,
u'score': 107.47626495361328,
u'type': u'8',
u'best_result': False,
u'youtube_video': {
u'kind': u'sj#video',
u'id': u'-_qMagfZtv8',
u'thumbnails': [{u'url': u'https://i.ytimg.com/vi/-_qMagfZtv8/mqdefault.jpg'
, u'width': 320, u'height': 180}],
u'title': u'Radiohead - Just',
},
},
{
u'navigational_result': False,
u'score': 105.6732406616211,
u'type': u'8',
u'best_result': False,
u'youtube_video': {
u'kind': u'sj#video',
u'id': u'IBH97ma9YiI',
u'thumbnails': [{u'url': u'https://i.ytimg.com/vi/IBH97ma9YiI/mqdefault.jpg'
, u'width': 320, u'height': 180}],
u'title': u'Radiohead - Karma Police',
},
},
{
u'navigational_result': False,
u'score': 86.71507263183594,
u'type': u'8',
u'best_result': False,
u'youtube_video': {
u'kind': u'sj#video',
u'id': u'BciOfJsqh7M',
u'thumbnails': [{u'url': u'https://i.ytimg.com/vi/BciOfJsqh7M/mqdefault.jpg'
, u'width': 320, u'height': 180}],
u'title': u'Radiohead - High & Dry',
},
},
{
u'navigational_result': False,
u'score': 78.56373596191406,
u'type': u'8',
u'best_result': False,
u'youtube_video': {
u'kind': u'sj#video',
u'id': u'7DH4w27FXeY',
u'thumbnails': [{u'url': u'https://i.ytimg.com/vi/7DH4w27FXeY/mqdefault.jpg'
, u'width': 320, u'height': 180}],
u'title': u'Radiohead - Pyramid Song - Paris Zenith 2016'
,
},
},
{
u'navigational_result': False,
u'score': 75.49803161621094,
u'type': u'8',
u'best_result': False,
u'youtube_video': {
u'kind': u'sj#video',
u'id': u'5cctMmb1G9I',
u'thumbnails': [{u'url': u'https://i.ytimg.com/vi/5cctMmb1G9I/mqdefault.jpg'
, u'width': 320, u'height': 180}],
u'title': u'Radiohead - Creep -Paris Zenith 2016',
},
},
],
u'station_hits': [
{
u'navigational_result': False,
u'station': {
u'kind': u'sj#radioStation',
u'name': u'Radiohead',
u'compositeArtRefs': [{u'url': u'http://lh3.googleusercontent.com/2Yn-VR47IfhJRzqJP-feXYInm9fMcynYFovcilzHm9u9JoU0TIwdJYzd5YE'
, u'kind': u'sj#imageRef',
u'aspectRatio': u'1'},
{u'url': u'http://lh3.googleusercontent.com/86K_TamTKGCBP6eqbrdZJzne6boiHtQ0KyE8b54Ai-5CI2qR0wEjKpABIBY'
, u'kind': u'sj#imageRef',
u'aspectRatio': u'2'}],
u'seed': {u'kind': u'sj#radioSeed',
u'artistId': u'A3qpbllyfot4yhqo7isoomtctli'
, u'seedType': u'3'},
u'skipEventHistory': [],
u'stationSeeds': [{u'kind': u'sj#radioSeed',
u'artistId': u'A3qpbllyfot4yhqo7isoomtctli'
, u'seedType': u'3'}],
u'imageUrls': [{
u'url': u'http://lh3.googleusercontent.com/53cYhGcuBl6tJh4NAsrkxHW2dYReUv27bwrA1nb_KNCrgIKeGjhfl-NmUzsu6mJGoyg1UBuvpDM'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'2',
u'autogen': False,
}],
},
u'type': u'6',
u'best_result': False,
},
{
u'navigational_result': False,
u'station': {
u'kind': u'sj#radioStation',
u'name': u'The World of Radiohead',
u'stationSeeds': [{u'kind': u'sj#radioSeed',
u'curatedStationId': u'Ldldael37getbnwrv3tmu3uuwxi'
, u'seedType': u'9'}],
u'contentTypes': [u'1'],
u'seed': {u'kind': u'sj#radioSeed',
u'curatedStationId': u'Ldldael37getbnwrv3tmu3uuwxi'
, u'seedType': u'9'},
u'skipEventHistory': [],
u'compositeArtRefs': [{u'url': u'http://lh3.googleusercontent.com/0L3wBM6K6gaN0zxXUu5r7YiYGCeNcp1JfjrZwpDXpD8qNMC4KfqpAlCTlQ'
, u'kind': u'sj#imageRef',
u'aspectRatio': u'1'},
{u'url': u'http://lh3.googleusercontent.com/9try_hE5_z-mmTgJMiAYyDOai1G9VPUrSThpZkpc1Bg4w9pGSJL3QpG6uQ'
, u'kind': u'sj#imageRef',
u'aspectRatio': u'2'}],
u'imageUrls': [
{
u'url': u'http://lh3.googleusercontent.com/SejXvmdv_DUhSNMRiiVrd2E-Lc-mRk_kKmWIkH8Kth9BNvHAOv4Ikkl_tILUmjLgxHkKAKe7'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': False,
},
{
u'url': u'http://lh3.googleusercontent.com/N5hiw2NaoX2qg0gZF9nBiA5-sBlB7gCSQ_hSejmKvKt2DLNo4ajoMXFZU6wHRq9T2929FyMjeA'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': False,
},
{
u'url': u'http://lh3.googleusercontent.com/QqIhpNYYd1TXbTRtY3Ihw-I9Fvz7gDqJ3rmNzOmNmcpCDLgU5X-6DR_RmyuNRwUCmu_Juq2skCo'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': False,
},
{
u'url': u'http://lh3.googleusercontent.com/pWWffAVip7hKBtey8nm2FhbNuRlpxpz3Ach4OitZB29xj0Lu879we6oy-uU9zf0OU-IqKa38'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': False,
},
{
u'url': u'http://lh3.ggpht.com/AgE92VbayEk954fw8xygE6ihRT1j2yEeoT90LPI-swI2EQJhQjPkdXamRNzLIWSrM4ytxz4c'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': False,
},
{
u'url': u'http://lh4.ggpht.com/VgKfopkD4-_Mm_qDrzf7bu8tK4G5WG_xNeBCgqXbAujDXmxnEeWOERyIcoqCjk_MwHay-os0'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': False,
},
{
u'url': u'http://lh3.ggpht.com/foWb6am-e99zEBv75WhTsb3EUrcoNXwx3w3LOHYU1W9fyibBGAazalZZegNLoGvQWM0A9xnZ'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': False,
},
{
u'url': u'http://lh3.ggpht.com/dWC2zrbQ2Sq0fwtrSWKh8q99wUIrwFr8eYaFD29HWZCJjFZjm2VgRY8XeTf0jFb0lpEo8EgRixM'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': False,
},
],
u'description': u"Radiohead are always tinkering, restlessly, with their strange yet soulful fusion of rock and electronica. Listen to songs from cited influences and indebted followers while getting a taste of the band's most recent setlists."
,
},
u'type': u'6',
u'best_result': False,
},
{
u'navigational_result': False,
u'station': {
u'kind': u'sj#radioStation',
u'name': u'Interview with Radiohead',
u'stationSeeds': [{u'kind': u'sj#radioSeed',
u'artistId': u'Alb4vnezvabiblo5pqcoxco3lia'
, u'seedType': u'3'}],
u'seed': {u'kind': u'sj#radioSeed',
u'artistId': u'Alb4vnezvabiblo5pqcoxco3lia'
, u'seedType': u'3'},
u'skipEventHistory': [],
u'imageUrls': [{
u'url': u'http://lh3.googleusercontent.com/1znjLFnZqWpzzldwm5s71PWj3vfpLQXDPt9GvjnNnbTqQSWgFWhDAhBL21q5DBsyTXxrX-bpqA'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'2',
u'autogen': True,
}, {
u'url': u'http://lh6.ggpht.com/n4oF4xXBZLV656Aqf_IUU65p5fgIhd3ZgClkeaciywjrP2afNyb0AnuENIZx81F01iPLJk6UDw'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': True,
}],
},
u'type': u'6',
u'best_result': False,
},
{
u'navigational_result': False,
u'station': {
u'kind': u'sj#radioStation',
u'name': u"Radiohead's Record Collection",
u'stationSeeds': [{u'kind': u'sj#radioSeed',
u'curatedStationId': u'L23z2xkpa6gsomfzucizljl2moy'
, u'seedType': u'9'}],
u'contentTypes': [u'1'],
u'seed': {u'kind': u'sj#radioSeed',
u'curatedStationId': u'L23z2xkpa6gsomfzucizljl2moy'
, u'seedType': u'9'},
u'skipEventHistory': [],
u'compositeArtRefs': [{u'url': u'http://lh3.googleusercontent.com/kWreK6ySqjQZLdpTKS5x9X3bxf18lXtlBlig12lNHa0EVaFK8HUl6RZuTA'
, u'kind': u'sj#imageRef',
u'aspectRatio': u'2'},
{u'url': u'http://lh3.googleusercontent.com/L6foN806DBf1lBtgLcv1rJIauD1yVktNYXSI7BdQ034vFIeyq2OKIJZv8A'
, u'kind': u'sj#imageRef',
u'aspectRatio': u'1'}],
u'imageUrls': [
{
u'url': u'http://lh6.ggpht.com/mxBqoZrZCmvG4qxrPELc-8WFomFddPQzJVm3C73nme8rPOSfTGc9WCJT8AWVPyxUDn-GRv3J'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': False,
},
{
u'url': u'http://lh5.ggpht.com/JfvKqUTgD4WxUK9u6jUS9buwwoOLxe0ojL_DhViO9PVHHwo655VmAwdMIttAYF7MdCK4h82w_WE'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': False,
},
{
u'url': u'http://lh3.ggpht.com/uWAk0lgyraGpQ2_Xv--dzUFItCBwXoT63yTzD67QoxO1erMvhUvsww-XunZUiX23hkDNsBMDww'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': False,
},
{
u'url': u'http://lh3.ggpht.com/tsujBZXEx5mUZnfBsv76gztJezDtsk14bHrWjj7CR0dU7Rrtj2CXpPCbNI6i8L3r1iy3OyvuPV4'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': False,
},
{
u'url': u'http://lh4.ggpht.com/1QbjSsa6jqsicpX3QrFu7oWqvGlI0GGiSUjWWnXsPCzbrpm34qCzczpMFKOjDqFxx0RfmmDC'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': False,
},
{
u'url': u'http://lh3.googleusercontent.com/1sbmUQk5t-uYhnU_-Fl8Fx0SJ35kQ01svL70c758r_lpk38v5lDGFR1fVRuAnZF6-XcKVXGVmQ'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': False,
},
{
u'url': u'http://lh5.ggpht.com/VC1iFdAaZZE-fwgTpNRCZZcJaFhO8MxZStwOYLgBa_uOKCl2FgDuy71qXEuX-0BnmxNPp1_A'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': False,
},
{
u'url': u'http://lh3.googleusercontent.com/afAhA04IT17NqIbr4W2oWkbTpazikAdzYspnzqj8Med9RSOmjpNm-bVSzTUiK-twwoBOmhAW5A'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': False,
},
],
u'description': u'Since 2007, members of Radiohead have been writing about their favorite music on the blog "Dead Air Space." Listen to Thom, Johnny, Colin, Ed and Phil\'s favorite songs here.'
,
},
u'type': u'6',
u'best_result': False,
},
{
u'navigational_result': False,
u'station': {
u'kind': u'sj#radioStation',
u'name': u'Creep',
u'compositeArtRefs': [{u'url': u'http://lh3.googleusercontent.com/9gccuAnxEYaqwSg_gJIeToN3VfKhOW3PeKOXXbJzY6N40Kt2CtIV4aakjQ'
, u'kind': u'sj#imageRef',
u'aspectRatio': u'4'},
{u'url': u'http://lh3.googleusercontent.com/6A-tz9YKqf7z_WDN1UqRRn8n_ZidNeUC57OQVxapxrD9CuUPGB47F3Mo'
, u'kind': u'sj#imageRef',
u'aspectRatio': u'1'}],
u'seed': {u'trackId': u'Tgarv4vwobsxyxtsott6p4qok5q'
, u'kind': u'sj#radioSeed',
u'seedType': u'2'},
u'skipEventHistory': [],
u'stationSeeds': [{u'trackId': u'Tgarv4vwobsxyxtsott6p4qok5q'
, u'kind': u'sj#radioSeed',
u'seedType': u'2'}],
u'imageUrls': [{
u'url': u'http://lh3.googleusercontent.com/S7EzegIDPI54OwPL9-KNd4hIn2jDZOosfMOh6gVpyEBs397rk33UjqZh9s9IhFlbcROF3CtC'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': False,
}],
},
u'type': u'6',
u'best_result': False,
},
{
u'navigational_result': False,
u'station': {
u'kind': u'sj#radioStation',
u'name': u'Karma Police',
u'compositeArtRefs': [{u'url': u'http://lh3.googleusercontent.com/eDte0QQwtxd0y5ROBcg5zpQwq74zJTlKTagkPszHauc-i3kQz3YmolkwIAE'
, u'kind': u'sj#imageRef',
u'aspectRatio': u'4'},
{u'url': u'http://lh3.googleusercontent.com/peBzAHUwzhpAb5NePm19P0_ODC32UePFzgt_IvNFP76cbEx7KuVSXgJ3Mg'
, u'kind': u'sj#imageRef',
u'aspectRatio': u'1'}],
u'seed': {u'trackId': u'T5exrdzxkdxz7z4tyquklpf2jla'
, u'kind': u'sj#radioSeed',
u'seedType': u'2'},
u'skipEventHistory': [],
u'stationSeeds': [{u'trackId': u'T5exrdzxkdxz7z4tyquklpf2jla'
, u'kind': u'sj#radioSeed',
u'seedType': u'2'}],
u'imageUrls': [{
u'url': u'http://lh3.googleusercontent.com/FOJ-SO0djyr7GEFpkMJbiS-dtOltviBJwKF0lkR2F8cK1BY62jAVPfXnv-E_CrkOsfYxOxgb'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': False,
}],
},
u'type': u'6',
u'best_result': False,
},
],
u'song_hits': [{
u'track': {
u'albumArtRef': [{
u'url': u'http://lh3.googleusercontent.com/S7EzegIDPI54OwPL9-KNd4hIn2jDZOosfMOh6gVpyEBs397rk33UjqZh9s9IhFlbcROF3CtC'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': False,
}],
u'artistId': [u'A3qpbllyfot4yhqo7isoomtctli'],
u'composer': u'',
u'year': 1993,
u'trackAvailableForSubscription': True,
u'trackType': u'7',
u'album': u'Pablo Honey',
u'title': u'Creep',
u'albumArtist': u'Radiohead',
u'trackNumber': 2,
u'discNumber': 1,
u'albumAvailableForPurchase': True,
u'explicitType': u'1',
u'trackAvailableForPurchase': True,
u'storeId': u'Tgarv4vwobsxyxtsott6p4qok5q',
u'nid': u'Tgarv4vwobsxyxtsott6p4qok5q',
u'estimatedSize': u'9548304',
u'albumId': u'Bgpaifizbaqexiz7gbmlga35c6a',
u'genre': u"'90s Alternative",
u'playCount': 1,
u'kind': u'sj#track',
u'artist': u'Radiohead',
u'lastModifiedTimestamp': u'1463811465025533',
u'durationMillis': u'238000',
},
u'navigational_result': False,
u'type': u'1',
u'best_result': False,
}, {
u'track': {
u'albumArtRef': [{
u'url': u'http://lh3.googleusercontent.com/FOJ-SO0djyr7GEFpkMJbiS-dtOltviBJwKF0lkR2F8cK1BY62jAVPfXnv-E_CrkOsfYxOxgb'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': False,
}],
u'artistId': [u'A3qpbllyfot4yhqo7isoomtctli'],
u'composer': u'',
u'year': 1997,
u'trackAvailableForSubscription': True,
u'trackType': u'7',
u'album': u'OK Computer',
u'title': u'Karma Police',
u'albumArtist': u'Radiohead',
u'trackNumber': 6,
u'discNumber': 1,
u'albumAvailableForPurchase': True,
u'explicitType': u'2',
u'trackAvailableForPurchase': True,
u'storeId': u'T5exrdzxkdxz7z4tyquklpf2jla',
u'nid': u'T5exrdzxkdxz7z4tyquklpf2jla',
u'estimatedSize': u'10564990',
u'albumId': u'Bc5lmah5b34pzehbpiccirz3hme',
u'genre': u'Brit Pop/Brit Rock',
u'kind': u'sj#track',
u'artist': u'Radiohead',
u'durationMillis': u'264000',
},
u'navigational_result': False,
u'type': u'1',
u'best_result': False,
}],
u'situation_hits': [],
u'artist_hits': [{
u'navigational_result': False,
u'type': u'2',
u'best_result': False,
u'artist': {
u'artistArtRefs': [{
u'url': u'http://lh3.googleusercontent.com/53cYhGcuBl6tJh4NAsrkxHW2dYReUv27bwrA1nb_KNCrgIKeGjhfl-NmUzsu6mJGoyg1UBuvpDM'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'2',
u'autogen': False,
}],
u'kind': u'sj#artist',
u'artistArtRef': u'http://lh3.googleusercontent.com/53cYhGcuBl6tJh4NAsrkxHW2dYReUv27bwrA1nb_KNCrgIKeGjhfl-NmUzsu6mJGoyg1UBuvpDM'
,
u'name': u'Radiohead',
u'artistId': u'A3qpbllyfot4yhqo7isoomtctli',
},
}, {
u'navigational_result': False,
u'type': u'2',
u'best_result': False,
u'artist': {
u'artistArtRefs': [{
u'url': u'http://lh3.googleusercontent.com/1znjLFnZqWpzzldwm5s71PWj3vfpLQXDPt9GvjnNnbTqQSWgFWhDAhBL21q5DBsyTXxrX-bpqA'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'2',
u'autogen': True,
}, {
u'url': u'http://lh6.ggpht.com/n4oF4xXBZLV656Aqf_IUU65p5fgIhd3ZgClkeaciywjrP2afNyb0AnuENIZx81F01iPLJk6UDw'
,
u'kind': u'sj#imageRef',
u'aspectRatio': u'1',
u'autogen': True,
}],
u'kind': u'sj#artist',
u'artistArtRef': u'http://lh3.googleusercontent.com/1znjLFnZqWpzzldwm5s71PWj3vfpLQXDPt9GvjnNnbTqQSWgFWhDAhBL21q5DBsyTXxrX-bpqA'
,
u'name': u'Interview with Radiohead',
u'artistId': u'Alb4vnezvabiblo5pqcoxco3lia',
},
}],
u'playlist_hits': [],
u'album_hits': [{
u'album': {
u'explicitType': u'2',
u'kind': u'sj#album',
u'description_attribution': {
u'license_url': u'http://creativecommons.org/licenses/by-sa/4.0/legalcode'
,
u'kind': u'sj#attribution',
u'license_title': u'Creative Commons Attribution CC-BY-SA 4.0'
,
u'source_title': u'Wikipedia',
u'source_url': u'http://en.wikipedia.org/wiki/A_Moon_Shaped_Pool'
,
},
u'name': u'A Moon Shaped Pool',
u'artist': u'Radiohead',
u'albumArtRef': u'http://lh3.googleusercontent.com/SejXvmdv_DUhSNMRiiVrd2E-Lc-mRk_kKmWIkH8Kth9BNvHAOv4Ikkl_tILUmjLgxHkKAKe7'
,
u'albumId': u'B57cafi5cj2vwsy6a7e2a3ylyxm',
u'artistId': [u'A3qpbllyfot4yhqo7isoomtctli'],
u'albumArtist': u'Radiohead',
u'year': 2016,
},
u'navigational_result': False,
u'type': u'3',
u'best_result': False,
}, {
u'album': {
u'explicitType': u'2',
u'kind': u'sj#album',
u'description_attribution': {
u'license_url': u'http://creativecommons.org/licenses/by-sa/4.0/legalcode'
,
u'kind': u'sj#attribution',
u'license_title': u'Creative Commons Attribution CC-BY-SA 4.0'
,
u'source_title': u'Wikipedia',
u'source_url': u'http://en.wikipedia.org/wiki/OK_Computer'
,
},
u'name': u'OK Computer',
u'artist': u'Radiohead',
u'albumArtRef': u'http://lh3.googleusercontent.com/FOJ-SO0djyr7GEFpkMJbiS-dtOltviBJwKF0lkR2F8cK1BY62jAVPfXnv-E_CrkOsfYxOxgb'
,
u'albumId': u'Bc5lmah5b34pzehbpiccirz3hme',
u'artistId': [u'A3qpbllyfot4yhqo7isoomtctli'],
u'albumArtist': u'Radiohead',
u'year': 1997,
},
u'navigational_result': False,
u'type': u'3',
u'best_result': False,
}],
}
END_OF_PYTHON_CODE
@askvictor
Copy link
Author

This produces output:

HASH(0x13826e8)
ARRAY(0x1881118)
HASH(0x1881130)
Creep
Karma Police

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment