{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "import pandas as pd\n", "import numpy as np\n", "import matplotlib\n", "import matplotlib.pyplot as plt\n", "%matplotlib inline \n", "import urllib.request\n", "import urllib.parse\n", "import urllib.error\n", "import json\n", "import base64\n", "import configparser\n", "from bs4 import BeautifulSoup\n", "import re\n", "import pymongo\n", "from datetime import datetime\n", "import time\n", "import collections\n", "import editdistance" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "# Open a connection to the Mongo server\n", "client = pymongo.MongoClient('mongodb://localhost:27017/')" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [], "source": [ "# Create a database and a collections within it.\n", "songs_db = client.songs\n", "albums = songs_db.albums\n", "tracks = songs_db.tracks\n", "genius_tracks = songs_db.gtracks\n", "discog_tracks = songs_db.discog_tracks" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "['app_name', 'consumer_key', 'consumer_secret', 'token']" ] }, "execution_count": 4, "metadata": {}, "output_type": "execute_result" } ], "source": [ "config = configparser.ConfigParser()\n", "config.read('secrets.ini')\n", "[k for k in config['discogs']]" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [], "source": [ "def get_audio_features(track_ids, auth_type, auth_token):\n", " url = 'https://api.spotify.com/v1/audio-features?ids={ids}'.format(ids=','.join(track_ids))\n", " headers = {'Authorization': auth_type + ' ' + auth_token}\n", " request = urllib.request.Request(url, headers=headers, method='GET')\n", " \n", " for _ in range(10):\n", " try:\n", " with urllib.request.urlopen(request) as f:\n", " response = json.loads(f.read().decode('utf-8'))\n", " for track in response['audio_features']:\n", " tracks.update_one({'_id': track['id']}, {'$set': track})\n", " break\n", " except urllib.error.HTTPError as e:\n", " print(\"Rate limited. Pausing for\", e.info()['Retry-After'])\n", " time.sleep(int(e.info()['Retry-After']) + 0.5)\n", " continue " ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [], "source": [ "# /database/search?q={query}&{?type,title,release_title,credit,artist,anv,label,genre,style,country,year,format,catno,barcode,track,submitter,contributor}" ] }, { "cell_type": "code", "execution_count": 8, "metadata": {}, "outputs": [], "source": [ "def get_artists(artist_name):\n", " query = urllib.parse.urlencode({'q': artist_name, 'type': 'artist'})\n", " # query = urllib.parse.urlencode({'q': artist_name})\n", " url = 'https://api.discogs.com/database/search?{}'.format(query)\n", " headers = {'Authorization': 'Discogs token=' + config['discogs']['token']}\n", " artists = []\n", " while url:\n", " request = urllib.request.Request(url, headers=headers, method='GET')\n", " with urllib.request.urlopen(request) as f:\n", " response = json.loads(f.read().decode('utf-8'))\n", " artists += response['results']\n", " if 'next' in response['pagination']['urls']:\n", " url = response['pagination']['urls']['next']\n", " else:\n", " url = None\n", " return artists" ] }, { "cell_type": "code", "execution_count": 9, "metadata": {}, "outputs": [], "source": [ "def discogs_search(search_params, show_progress=False):\n", " query = urllib.parse.urlencode(search_params)\n", " url = 'https://api.discogs.com/database/search?{}'.format(query)\n", " headers = {'Authorization': 'Discogs token=' + config['discogs']['token']}\n", " results = []\n", " while url:\n", " try:\n", " request = urllib.request.Request(url, headers=headers, method='GET')\n", " with urllib.request.urlopen(request) as f:\n", " response = json.loads(f.read().decode('utf-8'))\n", " if show_progress:\n", " print('Retrieved page', response['pagination']['page'], 'of', response['pagination']['pages'],\n", " ';', f.info()['X-Discogs-Ratelimit-Remaining'], 'requests before rate limit')\n", " results += response['results']\n", " if 'next' in response['pagination']['urls']:\n", " url = response['pagination']['urls']['next']\n", " else:\n", " url = None\n", " if int(f.info()['X-Discogs-Ratelimit-Remaining']) <= 1:\n", " if show_progress:\n", " print('Rate limit: sleeping')\n", " time.sleep(3)\n", " except urllib.error.HTTPError as e:\n", "# print(\"Rate limited. Pausing for\", e.info()['Retry-After'])\n", "# time.sleep(int(e.info()['Retry-After']) + 0.5)\n", " print('Rate limited. Sleeping for 62 seconds')\n", " time.sleep(62)\n", " continue\n", " return results" ] }, { "cell_type": "code", "execution_count": 10, "metadata": {}, "outputs": [], "source": [ "def get_artist_albums(artist_name, show_progress=False):\n", " return discogs_search({'artist': artist_name, \n", " 'format': 'album'},\n", " show_progress=show_progress) " ] }, { "cell_type": "code", "execution_count": 8, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "211" ] }, "execution_count": 8, "metadata": {}, "output_type": "execute_result" } ], "source": [ "nivs = get_artists('Nirvana')\n", "len(nivs)" ] }, { "cell_type": "code", "execution_count": 9, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "[{'id': 125246,\n", " 'resource_url': 'https://api.discogs.com/artists/125246',\n", " 'thumb': 'https://img.discogs.com/_W4bvRx11IqhvAG8eqjofA5MqhM=/150x150/smart/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/A-125246-1501285200-3058.jpeg.jpg',\n", " 'title': 'Nirvana',\n", " 'type': 'artist',\n", " 'uri': '/artist/125246-Nirvana'},\n", " {'id': 307513,\n", " 'resource_url': 'https://api.discogs.com/artists/307513',\n", " 'thumb': 'https://img.discogs.com/ib710cDa2aK62NZIOqgb3AyGqd8=/150x150/smart/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/A-307513-1270236942.jpeg.jpg',\n", " 'title': 'Nirvana (2)',\n", " 'type': 'artist',\n", " 'uri': '/artist/307513-Nirvana-2'},\n", " {'id': 1087206,\n", " 'resource_url': 'https://api.discogs.com/artists/1087206',\n", " 'thumb': 'https://img.discogs.com/rRzxkphLYtHr8bD9v8UPucd1zos=/150x150/smart/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/A-1087206-1266869411.jpeg.jpg',\n", " 'title': 'Nirvana 2002',\n", " 'type': 'artist',\n", " 'uri': '/artist/1087206-Nirvana-2002'},\n", " {'id': 2744248,\n", " 'resource_url': 'https://api.discogs.com/artists/2744248',\n", " 'thumb': '',\n", " 'title': 'Nirvana (10)',\n", " 'type': 'artist',\n", " 'uri': '/artist/2744248-Nirvana-10'},\n", " {'id': 1082359,\n", " 'resource_url': 'https://api.discogs.com/artists/1082359',\n", " 'thumb': '',\n", " 'title': 'Nirvana (6)',\n", " 'type': 'artist',\n", " 'uri': '/artist/1082359-Nirvana-6'},\n", " {'id': 1176738,\n", " 'resource_url': 'https://api.discogs.com/artists/1176738',\n", " 'thumb': 'https://img.discogs.com/aNOZPb9y_N9oBE3GsBSOyAbl8Jw=/150x150/smart/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/A-1176738-1317705549.jpeg.jpg',\n", " 'title': 'Nirvana (7)',\n", " 'type': 'artist',\n", " 'uri': '/artist/1176738-Nirvana-7'},\n", " {'id': 457609,\n", " 'resource_url': 'https://api.discogs.com/artists/457609',\n", " 'thumb': '',\n", " 'title': 'Nirvana (4)',\n", " 'type': 'artist',\n", " 'uri': '/artist/457609-Nirvana-4'},\n", " {'id': 816495,\n", " 'resource_url': 'https://api.discogs.com/artists/816495',\n", " 'thumb': '',\n", " 'title': 'Nirvana (5)',\n", " 'type': 'artist',\n", " 'uri': '/artist/816495-Nirvana-5'},\n", " {'id': 1389061,\n", " 'resource_url': 'https://api.discogs.com/artists/1389061',\n", " 'thumb': '',\n", " 'title': 'Nirvana (8)',\n", " 'type': 'artist',\n", " 'uri': '/artist/1389061-Nirvana-8'},\n", " {'id': 319676,\n", " 'resource_url': 'https://api.discogs.com/artists/319676',\n", " 'thumb': '',\n", " 'title': 'Nirvana (3)',\n", " 'type': 'artist',\n", " 'uri': '/artist/319676-Nirvana-3'},\n", " {'id': 2414323,\n", " 'resource_url': 'https://api.discogs.com/artists/2414323',\n", " 'thumb': '',\n", " 'title': 'El Nirvana',\n", " 'type': 'artist',\n", " 'uri': '/artist/2414323-El-Nirvana'},\n", " {'id': 965460,\n", " 'resource_url': 'https://api.discogs.com/artists/965460',\n", " 'thumb': 'https://img.discogs.com/lKd9XKjjA4UdM3EACxpFyvx2EAg=/150x150/smart/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/A-965460-1370853336-6662.jpeg.jpg',\n", " 'title': 'The Nirvana Devils',\n", " 'type': 'artist',\n", " 'uri': '/artist/965460-The-Nirvana-Devils'},\n", " {'id': 934885,\n", " 'resource_url': 'https://api.discogs.com/artists/934885',\n", " 'thumb': '',\n", " 'title': 'Nirvana Bros.',\n", " 'type': 'artist',\n", " 'uri': '/artist/934885-Nirvana-Bros'},\n", " {'id': 45870,\n", " 'resource_url': 'https://api.discogs.com/artists/45870',\n", " 'thumb': '',\n", " 'title': 'The Nirvana Sitar & String Group',\n", " 'type': 'artist',\n", " 'uri': '/artist/45870-The-Nirvana-Sitar-String-Group'},\n", " {'id': 5145389,\n", " 'resource_url': 'https://api.discogs.com/artists/5145389',\n", " 'thumb': 'https://img.discogs.com/EA_6CSDYYf766HuxqrbsAvxxYyA=/150x150/smart/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/A-5145389-1468099375-2943.jpeg.jpg',\n", " 'title': 'Nirvana (14)',\n", " 'type': 'artist',\n", " 'uri': '/artist/5145389-Nirvana-14'},\n", " {'id': 3465490,\n", " 'resource_url': 'https://api.discogs.com/artists/3465490',\n", " 'thumb': 'https://img.discogs.com/0gpHsrsKw94p0y2PaQwxIhUjjng=/150x150/smart/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/A-3465490-1379316060-1118.jpeg.jpg',\n", " 'title': 'Approaching Nirvana',\n", " 'type': 'artist',\n", " 'uri': '/artist/3465490-Approaching-Nirvana'},\n", " {'id': 4634135,\n", " 'resource_url': 'https://api.discogs.com/artists/4634135',\n", " 'thumb': '',\n", " 'title': 'Nirvana (13)',\n", " 'type': 'artist',\n", " 'uri': '/artist/4634135-Nirvana-13'},\n", " {'id': 5047262,\n", " 'resource_url': 'https://api.discogs.com/artists/5047262',\n", " 'thumb': '',\n", " 'title': 'Nirvana Kelly',\n", " 'type': 'artist',\n", " 'uri': '/artist/5047262-Nirvana-Kelly'},\n", " {'id': 520870,\n", " 'resource_url': 'https://api.discogs.com/artists/520870',\n", " 'thumb': '',\n", " 'title': 'The Attainment Of Nirvana',\n", " 'type': 'artist',\n", " 'uri': '/artist/520870-The-Attainment-Of-Nirvana'},\n", " {'id': 1907189,\n", " 'resource_url': 'https://api.discogs.com/artists/1907189',\n", " 'thumb': '',\n", " 'title': 'Paulette \"Nirvana\" Buckley',\n", " 'type': 'artist',\n", " 'uri': '/artist/1907189-Paulette-Nirvana-Buckley'},\n", " {'id': 1286267,\n", " 'resource_url': 'https://api.discogs.com/artists/1286267',\n", " 'thumb': '',\n", " 'title': 'The Nirvana',\n", " 'type': 'artist',\n", " 'uri': '/artist/1286267-The-Nirvana'},\n", " {'id': 2888206,\n", " 'resource_url': 'https://api.discogs.com/artists/2888206',\n", " 'thumb': '',\n", " 'title': 'Nada Nirvana',\n", " 'type': 'artist',\n", " 'uri': '/artist/2888206-Nada-Nirvana'},\n", " {'id': 4809078,\n", " 'resource_url': 'https://api.discogs.com/artists/4809078',\n", " 'thumb': '',\n", " 'title': 'The Nirvana Ensemble',\n", " 'type': 'artist',\n", " 'uri': '/artist/4809078-The-Nirvana-Ensemble'},\n", " {'id': 1459803,\n", " 'resource_url': 'https://api.discogs.com/artists/1459803',\n", " 'thumb': 'https://img.discogs.com/WLzN-1q-wHw4_Jy_YzS3hcVSohA=/150x150/smart/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/A-1459803-1420753729-4099.jpeg.jpg',\n", " 'title': 'Nirvana Savoury',\n", " 'type': 'artist',\n", " 'uri': '/artist/1459803-Nirvana-Savoury'},\n", " {'id': 2728399,\n", " 'resource_url': 'https://api.discogs.com/artists/2728399',\n", " 'thumb': '',\n", " 'title': 'The Nirvana (2)',\n", " 'type': 'artist',\n", " 'uri': '/artist/2728399-The-Nirvana-2'},\n", " {'id': 501548,\n", " 'resource_url': 'https://api.discogs.com/artists/501548',\n", " 'thumb': '',\n", " 'title': 'Nirvana 1 Way',\n", " 'type': 'artist',\n", " 'uri': '/artist/501548-Nirvana-1-Way'},\n", " {'id': 2100392,\n", " 'resource_url': 'https://api.discogs.com/artists/2100392',\n", " 'thumb': '',\n", " 'title': 'Last Casino In Nirvana',\n", " 'type': 'artist',\n", " 'uri': '/artist/2100392-Last-Casino-In-Nirvana'},\n", " {'id': 2852124,\n", " 'resource_url': 'https://api.discogs.com/artists/2852124',\n", " 'thumb': '',\n", " 'title': 'The Nirvana Banana',\n", " 'type': 'artist',\n", " 'uri': '/artist/2852124-The-Nirvana-Banana'},\n", " {'id': 1285360,\n", " 'resource_url': 'https://api.discogs.com/artists/1285360',\n", " 'thumb': '',\n", " 'title': 'Nirvana Banana',\n", " 'type': 'artist',\n", " 'uri': '/artist/1285360-Nirvana-Banana'},\n", " {'id': 3574712,\n", " 'resource_url': 'https://api.discogs.com/artists/3574712',\n", " 'thumb': '',\n", " 'title': 'Ricky Nirvana',\n", " 'type': 'artist',\n", " 'uri': '/artist/3574712-Ricky-Nirvana'},\n", " {'id': 3995371,\n", " 'resource_url': 'https://api.discogs.com/artists/3995371',\n", " 'thumb': '',\n", " 'title': 'Nirvana (12)',\n", " 'type': 'artist',\n", " 'uri': '/artist/3995371-Nirvana-12'},\n", " {'id': 2966881,\n", " 'resource_url': 'https://api.discogs.com/artists/2966881',\n", " 'thumb': '',\n", " 'title': 'Weed Nirvana',\n", " 'type': 'artist',\n", " 'uri': '/artist/2966881-Weed-Nirvana'},\n", " {'id': 3105291,\n", " 'resource_url': 'https://api.discogs.com/artists/3105291',\n", " 'thumb': 'https://img.discogs.com/5AlLJ0bpJ3E8l0YeeK0VJ8a9zhw=/150x150/smart/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/A-3105291-1358422778-8324.jpeg.jpg',\n", " 'title': 'Nirvana (11)',\n", " 'type': 'artist',\n", " 'uri': '/artist/3105291-Nirvana-11'},\n", " {'id': 3758745,\n", " 'resource_url': 'https://api.discogs.com/artists/3758745',\n", " 'thumb': '',\n", " 'title': 'Nihil Nirvana',\n", " 'type': 'artist',\n", " 'uri': '/artist/3758745-Nihil-Nirvana'},\n", " {'id': 4143675,\n", " 'resource_url': 'https://api.discogs.com/artists/4143675',\n", " 'thumb': 'https://img.discogs.com/1ZeMPWI6ymipI8HTLBrlAyRL88A=/150x150/smart/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/A-4143675-1486326311-8056.jpeg.jpg',\n", " 'title': 'Nirvanass',\n", " 'type': 'artist',\n", " 'uri': '/artist/4143675-Nirvanass'},\n", " {'id': 3189817,\n", " 'resource_url': 'https://api.discogs.com/artists/3189817',\n", " 'thumb': '',\n", " 'title': 'Takis Nirvanas And The 4 Chambers',\n", " 'type': 'artist',\n", " 'uri': '/artist/3189817-Takis-Nirvanas-And-The-4-Chambers'},\n", " {'id': 3221382,\n", " 'resource_url': 'https://api.discogs.com/artists/3221382',\n", " 'thumb': '',\n", " 'title': 'Nirvana Groove',\n", " 'type': 'artist',\n", " 'uri': '/artist/3221382-Nirvana-Groove'},\n", " {'id': 6117976,\n", " 'resource_url': 'https://api.discogs.com/artists/6117976',\n", " 'thumb': 'https://img.discogs.com/m30asJH43XlR40lgQA2eo6oRwlY=/150x150/smart/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/A-6117976-1510262760-3077.jpeg.jpg',\n", " 'title': 'Nirvana (15)',\n", " 'type': 'artist',\n", " 'uri': '/artist/6117976-Nirvana-15'},\n", " {'id': 2337392,\n", " 'resource_url': 'https://api.discogs.com/artists/2337392',\n", " 'thumb': '',\n", " 'title': 'Nirvana Curve',\n", " 'type': 'artist',\n", " 'uri': '/artist/2337392-Nirvana-Curve'},\n", " {'id': 3801487,\n", " 'resource_url': 'https://api.discogs.com/artists/3801487',\n", " 'thumb': '',\n", " 'title': 'Nirvana Gherbaz Duraković',\n", " 'type': 'artist',\n", " 'uri': '/artist/3801487-Nirvana-Gherbaz-Duraković'},\n", " {'id': 5305718,\n", " 'resource_url': 'https://api.discogs.com/artists/5305718',\n", " 'thumb': '',\n", " 'title': 'Nirvana Teen Spirit',\n", " 'type': 'artist',\n", " 'uri': '/artist/5305718-Nirvana-Teen-Spirit'},\n", " {'id': 5753423,\n", " 'resource_url': 'https://api.discogs.com/artists/5753423',\n", " 'thumb': '',\n", " 'title': 'Nirvana Meditation Orchestra',\n", " 'type': 'artist',\n", " 'uri': '/artist/5753423-Nirvana-Meditation-Orchestra'}]" ] }, "execution_count": 9, "metadata": {}, "output_type": "execute_result" } ], "source": [ "[n for n in nivs if 'Nirvana' in n['title']]" ] }, { "cell_type": "code", "execution_count": 10, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "701" ] }, "execution_count": 10, "metadata": {}, "output_type": "execute_result" } ], "source": [ "tbs = get_artists('The Beatles')\n", "len(tbs)" ] }, { "cell_type": "code", "execution_count": 11, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "3" ] }, "execution_count": 11, "metadata": {}, "output_type": "execute_result" } ], "source": [ "atbs = [a for a in tbs if re.match('^The Beatles(\\s\\(\\d+\\))?$', a['title'])]\n", "len(atbs)" ] }, { "cell_type": "code", "execution_count": 12, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "[{'id': 82730,\n", " 'resource_url': 'https://api.discogs.com/artists/82730',\n", " 'thumb': 'https://img.discogs.com/z5jHbqQZ7JJ-g0OKPfpX-3luLpo=/150x150/smart/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/A-82730-1319532675.jpeg.jpg',\n", " 'title': 'The Beatles',\n", " 'type': 'artist',\n", " 'uri': '/artist/82730-The-Beatles'},\n", " {'id': 2517607,\n", " 'resource_url': 'https://api.discogs.com/artists/2517607',\n", " 'thumb': '',\n", " 'title': 'The Beatles (2)',\n", " 'type': 'artist',\n", " 'uri': '/artist/2517607-The-Beatles-2'},\n", " {'id': 4290435,\n", " 'resource_url': 'https://api.discogs.com/artists/4290435',\n", " 'thumb': '',\n", " 'title': 'The Beatles (3)',\n", " 'type': 'artist',\n", " 'uri': '/artist/4290435-The-Beatles-3'}]" ] }, "execution_count": 12, "metadata": {}, "output_type": "execute_result" } ], "source": [ "atbs" ] }, { "cell_type": "code", "execution_count": 13, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "{'id': 82730,\n", " 'resource_url': 'https://api.discogs.com/artists/82730',\n", " 'thumb': 'https://img.discogs.com/z5jHbqQZ7JJ-g0OKPfpX-3luLpo=/150x150/smart/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/A-82730-1319532675.jpeg.jpg',\n", " 'title': 'The Beatles',\n", " 'type': 'artist',\n", " 'uri': '/artist/82730-The-Beatles'}" ] }, "execution_count": 13, "metadata": {}, "output_type": "execute_result" } ], "source": [ "beatles_keys = [a for a in atbs if a['id'] == 82730][0]\n", "beatles_keys" ] }, { "cell_type": "code", "execution_count": 11, "metadata": {}, "outputs": [], "source": [ "def get_artist(artist_keys):\n", " url = artist_keys['resource_url']\n", " headers = {'Authorization': 'Discogs token=' + config['discogs']['token']}\n", " request = urllib.request.Request(url, headers=headers, method='GET')\n", " with urllib.request.urlopen(request) as f:\n", " response = json.loads(f.read().decode('utf-8'))\n", " return response " ] }, { "cell_type": "code", "execution_count": 12, "metadata": {}, "outputs": [], "source": [ "def get_by_url(url):\n", " headers = {'Authorization': 'Discogs token=' + config['discogs']['token']}\n", " request = urllib.request.Request(url, headers=headers, method='GET')\n", " with urllib.request.urlopen(request) as f:\n", " response = json.loads(f.read().decode('utf-8'))\n", " return response " ] }, { "cell_type": "code", "execution_count": 22, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "dict_keys(['urls', 'members', 'images', 'name', 'profile', 'uri', 'resource_url', 'namevariations', 'releases_url', 'aliases', 'data_quality', 'id'])" ] }, "execution_count": 22, "metadata": {}, "output_type": "execute_result" } ], "source": [ "beatles_data = get_artist(beatles_keys)\n", "beatles_data.keys()" ] }, { "cell_type": "code", "execution_count": 26, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'Needs Vote'" ] }, "execution_count": 26, "metadata": {}, "output_type": "execute_result" } ], "source": [ "beatles_data['data_quality']" ] }, { "cell_type": "code", "execution_count": 13, "metadata": {}, "outputs": [], "source": [ "def get_releases(releases_url, show_progress=False):\n", " url = releases_url\n", " headers = {'Authorization': 'Discogs token=' + config['discogs']['token']}\n", " releases = []\n", " while url:\n", " request = urllib.request.Request(url, headers=headers, method='GET')\n", " try:\n", " with urllib.request.urlopen(request) as f:\n", " response = json.loads(f.read().decode('utf-8'))\n", " if show_progress:\n", " print('Retrieved page', response['pagination']['page'], 'of', response['pagination']['pages'])\n", " releases += response['releases']\n", " if 'next' in response['pagination']['urls']:\n", " url = response['pagination']['urls']['next']\n", " else:\n", " url = None\n", " except urllib.error.HTTPError as e:\n", "# print(\"Rate limited. Pausing for\", e.info()['Retry-After'])\n", "# time.sleep(int(e.info()['Retry-After']) + 0.5)\n", " print('Rate limited. Sleeping for 62 seconds')\n", " time.sleep(62)\n", " continue\n", "\n", " return releases" ] }, { "cell_type": "code", "execution_count": 32, "metadata": {}, "outputs": [ { "ename": "KeyError", "evalue": "'results'", "output_type": "error", "traceback": [ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", "\u001b[0;31mKeyError\u001b[0m Traceback (most recent call last)", "\u001b[0;32m\u001b[0m in \u001b[0;36m\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mbeatles_releases\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mget_releases\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbeatles_data\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'releases_url'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 2\u001b[0m \u001b[0mbeatles_releases\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mkeys\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", "\u001b[0;32m\u001b[0m in \u001b[0;36mget_releases\u001b[0;34m(releases_url)\u001b[0m\n\u001b[1;32m 8\u001b[0m \u001b[0;32mwith\u001b[0m \u001b[0murllib\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0murlopen\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mrequest\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0mf\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 9\u001b[0m \u001b[0mresponse\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mjson\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mloads\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mf\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mread\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdecode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'utf-8'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 10\u001b[0;31m \u001b[0mreleases\u001b[0m \u001b[0;34m+=\u001b[0m \u001b[0mresponse\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'results'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 11\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0;34m'next'\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mresponse\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'pagination'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'urls'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 12\u001b[0m \u001b[0murl\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mresponse\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'pagination'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'urls'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'next'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", "\u001b[0;31mKeyError\u001b[0m: 'results'" ] } ], "source": [ "beatles_releases = get_releases(beatles_data['releases_url'])\n", "beatles_releases.keys()" ] }, { "cell_type": "code", "execution_count": 35, "metadata": { "scrolled": true }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n", "dict_keys(['pagination', 'releases'])\n" ] } ], "source": [ "url = beatles_data['releases_url']\n", "headers = {'Authorization': 'Discogs token=' + config['discogs']['token']}\n", "releases = []\n", "while url:\n", " request = urllib.request.Request(url, headers=headers, method='GET')\n", " try:\n", " with urllib.request.urlopen(request) as f:\n", " response = json.loads(f.read().decode('utf-8'))\n", " print(response.keys())\n", " releases += response['releases']\n", " if 'next' in response['pagination']['urls']:\n", " url = response['pagination']['urls']['next']\n", " else:\n", " url = None\n", " except urllib.error.HTTPError as e:\n", "# print(\"Rate limited. Pausing for\", e.info()['Retry-After'])\n", "# time.sleep(int(e.info()['Retry-After']) + 0.5)\n", " print('Rate limited. Sleeping for 62 seconds')\n", " time.sleep(62)\n", " continue" ] }, { "cell_type": "code", "execution_count": 57, "metadata": {}, "outputs": [ { "ename": "AttributeError", "evalue": "'dict' object has no attribute 'info'", "output_type": "error", "traceback": [ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", "\u001b[0;31mAttributeError\u001b[0m Traceback (most recent call last)", "\u001b[0;32m\u001b[0m in \u001b[0;36m\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mresponse\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0minfo\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m", "\u001b[0;31mAttributeError\u001b[0m: 'dict' object has no attribute 'info'" ] } ], "source": [ "response.info()" ] }, { "cell_type": "code", "execution_count": 38, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "5488" ] }, "execution_count": 38, "metadata": {}, "output_type": "execute_result" } ], "source": [ "len(releases)" ] }, { "cell_type": "code", "execution_count": 39, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "{'artist': 'The Beatles',\n", " 'id': 846231,\n", " 'main_release': 6849682,\n", " 'resource_url': 'https://api.discogs.com/masters/846231',\n", " 'role': 'Main',\n", " 'thumb': 'https://img.discogs.com/uGrpdgGIbyvuYjkM4ndGsZ_ri8c=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-6849682-1475807872-1981.jpeg.jpg',\n", " 'title': 'The Beatles In Hamburg',\n", " 'type': 'master',\n", " 'year': 1961}" ] }, "execution_count": 39, "metadata": {}, "output_type": "execute_result" } ], "source": [ "releases[0]" ] }, { "cell_type": "code", "execution_count": 41, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "{'Appearance', 'Main', 'TrackAppearance', 'UnofficialRelease'}" ] }, "execution_count": 41, "metadata": {}, "output_type": "execute_result" } ], "source": [ "set(r['role'] for r in releases)" ] }, { "cell_type": "code", "execution_count": 42, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "Counter({'Appearance': 278,\n", " 'Main': 1234,\n", " 'TrackAppearance': 813,\n", " 'UnofficialRelease': 3163})" ] }, "execution_count": 42, "metadata": {}, "output_type": "execute_result" } ], "source": [ "collections.Counter(r['role'] for r in releases)" ] }, { "cell_type": "code", "execution_count": 48, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "[]" ] }, "execution_count": 48, "metadata": {}, "output_type": "execute_result" } ], "source": [ "[r for r in releases if r.get('format') == 'Album'][:5]" ] }, { "cell_type": "code", "execution_count": 50, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "{'Cass, Club',\n", " '2xLP, Album, Unofficial',\n", " '2xLP, Unofficial, Red',\n", " '4xCD, Album, Comp, Mono',\n", " 'CD, EP',\n", " 'Lathe, 7\", Num, Unofficial',\n", " '2x12\", Comp, Unofficial, W/Lbl',\n", " '5xCD, Album, Unofficial + DVD, Unofficial, NTSC, C',\n", " '4xCD, Comp, Ltd, RM, Unofficial, Gol',\n", " 'CD, Promo, 14 ',\n", " 'Flexi, 7\", S/Sided, Unofficial',\n", " 'Cass, Comp, Ltd, Num',\n", " 'DVD, Unofficial, NTSC, NTS + CD, Album, Unofficial',\n", " 'CD, Comp, Rem',\n", " '2xCD, Comp, Promo, Gat',\n", " '5xCD, Unofficial, Ltd, RM',\n", " 'Acetate, 7\", Unofficial',\n", " '2xLP, Comp, Ltd, Num, RM',\n", " '9xLP, Comp + Box',\n", " '7\", EP, Mono, Unofficial',\n", " 'Flexi, 7\"',\n", " 'DVD-V, Comp',\n", " '8-Trk, Unofficial',\n", " 'DVD-V, Comp, Unofficial',\n", " 'Box + 13xCD, Album, RE, RM + 7xCD, Comp, RM + 5xDV',\n", " '2xCD, Comp, Promo, Dig',\n", " 'CD, Album, RM, Unofficial + CD',\n", " '6\", S/Sided, Unofficial, Pos',\n", " 'CD, Mixed, Unofficial, Comp',\n", " '7\", Ltd, Promo',\n", " '2xLP, Comp, Ltd',\n", " 'LP, Ltd, Num, Unofficial, Blu',\n", " 'CDr, Comp, Promo, Unofficial',\n", " 'LP, Unofficial, Blu',\n", " 'CD, mp3',\n", " '7\", EP, MP, M/Print, 1st',\n", " 'Cass, Album, Comp, RE',\n", " 'Flexi, 9\", Red',\n", " '12\", Promo, Unofficial',\n", " 'CDr, Mixed, Promo',\n", " '10x12\" + Box, Comp, Promo, RM',\n", " 'CD, Single, Promo',\n", " '24xFile, MP3, Album',\n", " '2xLP, Num, Unofficial',\n", " '9x7\", Mono, Ltd, Box',\n", " '3xLP, Comp, Ltd',\n", " '9xCD, Comp, Mono, RM, SHM + Box, Ltd',\n", " 'PlayTape, Unofficial, 1/4',\n", " '2xLP, Ltd, Unofficial',\n", " 'Lathe, 10\", Num, Unofficial, Cle',\n", " 'Flexi, S/Sided, Mono, Gre',\n", " '7\", Single, Promo',\n", " '3xCD, Ltd, Promo, Rad',\n", " 'CD, Comp, Enh + DVD-V, Reg',\n", " 'LP, Unofficial, Mono',\n", " '6\", Shape, S/Sided, Pos',\n", " '6xDVD, Dlx, Ltd, Num, Unofficial',\n", " 'Cass, S/Sided, Ltd',\n", " 'LP, Album, Unofficial, Pin',\n", " 'CDr, Mixed, Mixtape',\n", " '7\", EP, Unofficial, Mono',\n", " 'DVD-V, Unofficial, NTSC',\n", " '30xLP, Comp + Box',\n", " '7\", Mono, Unofficial',\n", " '4xCD, Unofficial + DVD, NTSC, cod',\n", " 'CD, Ltd, Pic',\n", " 'CD, Shape',\n", " 'Cass, Album, MiniAlbum, Comp',\n", " 'CD, Unofficial + 2xDVD-V, Unofficial',\n", " 'Box, Mono, Ltd, Unofficial + 10xCD, Album, Mono, U',\n", " 'Cass, Album, c-6',\n", " 'CDr, EP',\n", " '13xFile, FLAC, Album',\n", " 'Flexi, 7\", S/Sided, EP',\n", " '5xDVD-V, Unofficial, Mono',\n", " 'DVDr, Num, Unofficial + CDr, Num, Unofficial',\n", " '3xLP, Comp, Mono',\n", " 'CD, Mini, MiniAlbum, Comp, Mono',\n", " '4xCD, Comp, Mono, Unofficial',\n", " '4xCD, Album, Comp, Promo, S/Edition, Unofficial',\n", " '5xLP, Col + 3xCD + Box, Ltd, Unofficial',\n", " '3xCD, Comp, Unofficial + DVD-V, Comp, Unofficial',\n", " 'DVD, Promo, NTSC',\n", " '7\", Single, Promo, Unofficial',\n", " 'DVD-V, RE, PAL',\n", " 'Box, Comp, Unofficial + 4xCD, RM, Unofficial',\n", " 'CD, Single, Unofficial',\n", " 'LP, Comp, P/Mixed',\n", " 'File, MP3, Comp, P/Unofficial, Promo, RM, 19x',\n", " '5xLP, Col + 4xCD + DVD + Box, Ltd, Unofficial',\n", " 'LP, Ltd, Num, Unofficial, Yel',\n", " '3xCD, Unofficial + 3xDVD, Unofficial',\n", " '3xCD, Comp',\n", " '23xFile, MP3, Comp, 320 + File, MP3, Mixed, 320',\n", " '5xCD, Unofficial + Box',\n", " 'CD, Ltd, Num, Unofficial, Tin',\n", " '7\", Shape, Pic, Unofficial, App',\n", " 'CDr, Album, Comp',\n", " 'LP, Album, Comp',\n", " 'PlayTape',\n", " 'CD, Comp, Mixed, Promo',\n", " 'CD-ROM, Comp, MP3',\n", " '4xDVD-V, NTSC, Lon',\n", " '52xCD, Comp + Box',\n", " 'CD, Comp, Mono, RE, Unofficial, Dig',\n", " '2xBlu-ray-R, Unofficial',\n", " '4xCD, Comp, Unofficial + Box, Ltd, Unofficial',\n", " 'Laserdisc, 12\", S/Sided, Comp, Mono, NTSC, CLV',\n", " 'Box, RE, Unofficial + 8xCD, Comp',\n", " 'CD, Unofficial, Comp, RE',\n", " '12\", Album, Unofficial',\n", " '3xCD, Unofficial + 2xDVD, Unofficial',\n", " 'CD, Unofficial + DVD-V, Unofficial',\n", " '4xLP, Comp, Mixed',\n", " '2xCass, Comp, Unofficial',\n", " '4xCD, Unofficial + 2xDVD, Unofficial',\n", " '7\", TP, Unofficial, Mono',\n", " 'DVD-V, Comp, PAL',\n", " 'DVD-V, NTSC, B &',\n", " 'CD, Album, Comp, Mono, Dlx, RM, S/Edition',\n", " 'CDr, CD-ROM, Comp, Unofficial, Mp3',\n", " '4xCD, Comp, Ltd + Box, Ltd',\n", " '2xLP, Unofficial, Gat',\n", " '10xFile, MP3, Comp, 320',\n", " 'Cass, Comp, Promo, Smplr',\n", " 'CD, Comp, Unofficial, Gol',\n", " '12\", EP, Comp, Mixed',\n", " '7\", Single, Mono, Unofficial',\n", " '2xDVD, Unofficial, NTSC, NTS',\n", " 'CD, Album',\n", " 'Box, Comp, Unofficial + 3xCD + DVD-V, NTSC',\n", " '3xLP, Comp, Ltd, Mono, Gat',\n", " 'CD, Mini, Maxi',\n", " '2x7\", Single',\n", " 'CD, Enh',\n", " '50xFile, MP3, Comp, 320',\n", " '7\", Promo, RE',\n", " 'LP, Comp, Unofficial, W/Lbl',\n", " '7\", Single, RE',\n", " '7\", Pic, Promo',\n", " 'VHS, Comp, Promo, PAL, Car',\n", " 'Cass, Comp, RE',\n", " '2xLP, Comp, Ltd, Tra + LP, Ltd, Tra + 7\", Single, ',\n", " '12\", Ltd, Smplr, Unofficial',\n", " '16xFile, FLAC, Album',\n", " 'CD, Unofficial + 2xDVD, Unofficial',\n", " '12\", Comp, Pic, Unofficial',\n", " 'LP, Comp, Mono, Blu',\n", " 'LP, S/Edition',\n", " 'CD, Comp, M/Print, Unofficial',\n", " '6xCD, Comp',\n", " '30xFile, MP3, Comp, Unofficial, 320',\n", " '7\", Single, Jukebox, Gre',\n", " 'LP, Pic, Ltd, Unofficial',\n", " 'LP, Album, Comp, Mono',\n", " 'LP, Transcription',\n", " '2xCD, Comp, Sli',\n", " '8xLP, Comp',\n", " '2xLP, P/Unofficial, Transcription, Tra',\n", " 'Box, Promo + 3xCD, Comp',\n", " 'CD, Promo, Smplr, Comp',\n", " '2xLP, Pic, Unofficial',\n", " 'LP, Comp, Promo, Smplr',\n", " '3xDVD, Unofficial + 2xCD, Unofficial',\n", " 'LP, Unofficial, Gre',\n", " '8-Trk, Comp, Unofficial',\n", " 'Cass, Comp, Dol',\n", " 'Box, Unofficial + 6xCD, Album, Comp, Unofficial',\n", " '4xLP + , Blu3xCD + Box, Ltd, Unofficial',\n", " '7xCD, Ltd, Unofficial',\n", " 'LP, Album, Comp, Ltd, Promo',\n", " '2xCD, Unofficial, Pap',\n", " 'CD, Comp, RM, Unofficial, Dig',\n", " '8xFile, MP3, Comp, 320',\n", " 'LP, Comp, S/Edition',\n", " 'CD, Mixed, Promo',\n", " '3xCD, Unofficial + DVD, NTSC, Unofficial',\n", " '41xFile, MP3, VBR',\n", " '2xLP, Comp, Mono, Pic, Unofficial',\n", " 'LP, Comp, Unofficial, Ora',\n", " '4xLP, Col + 2xCD + Box, Ltd, Unofficial',\n", " 'LP, Comp, Club, Ltd, Num',\n", " 'Acetate, 7\", Two',\n", " 'LP, Unofficial, Cle',\n", " '2xDVD-V, Unofficial, NTSC',\n", " '3xLP, Comp + Box',\n", " '3xDVD, Unofficial',\n", " '7\", EP, Promo, Pic',\n", " 'DVD, Unofficial + CD, Unofficial + Box',\n", " 'CD, Album, Num, Unofficial, Mono',\n", " '7\", EP, Unofficial',\n", " 'LP, Ltd, RE',\n", " '7\", Comp',\n", " '10\", Unofficial, Gre',\n", " '2xCD, Album, Comp, P/Unofficial, RM',\n", " 'CD, Mixed, Unofficial, Ltd',\n", " '10\", Shape, Mono, Pic, Unofficial',\n", " '15xFile, MP3, Album, VBR',\n", " '5xCD + Box, Comp',\n", " 'DVD, Mul',\n", " 'CD, Unofficial + 2xDVD, Unofficial, NTSC',\n", " '2xLP, Smplr',\n", " 'CD, Unofficial, Album',\n", " '16xCD, Comp, Enh, Ltd, RM + Box',\n", " 'Blu-ray-R, Album, Comp, Unofficial',\n", " 'LP, Comp, Mono, Promo',\n", " '7\", S/Sided, Unofficial',\n", " 'LP, Album, Comp, S/Edition, Unofficial',\n", " '3xLP, Pic, Unofficial + Box',\n", " 'CD, Comp, Mixed',\n", " 'Flexi, 7\", S/Sided',\n", " 'VHS, Comp, Promo',\n", " 'CD, Comp, Pic',\n", " 'LP, Ltd, Pic, Unofficial',\n", " '7\", Promo, Unofficial',\n", " 'File, MP3, Comp, Mixed',\n", " '12\", Comp, P/Mixed, Unofficial',\n", " 'LP, S/Sided, Ltd, Num, Unofficial, Whi',\n", " 'Blu-ray-R, Unofficial',\n", " 'CD, Comp, RM, Unofficial + CD, Album, RM, Unoffici',\n", " '2xLP, Promo',\n", " '3xDVD, Unofficial, NTSC + CD, Unofficial',\n", " 'CD, Unofficial + CD-ROM',\n", " '12\", EP, W/Lbl',\n", " 'File, Mixed, P/Unofficial, M4A',\n", " '2xCDr',\n", " 'Cass, Comp, P/Unofficial, Ltd, C90',\n", " 'Cass, Comp',\n", " 'Laserdisc, 12\", Comp, Promo, NTSC',\n", " 'CDr',\n", " 'CD, Promo, Mixed',\n", " '5xLP, col + 3xCD + DVD + Box, Ltd, Unofficial',\n", " 'File, MP3, 320',\n", " 'CD, Album, RE, Unofficial',\n", " '2xLP, Comp, Promo, S/Edition',\n", " 'LP, Mono, Unofficial, RED',\n", " '2xCD, Comp + CD-ROM',\n", " '2xLP, Unofficial',\n", " '4xCD, Comp + Box',\n", " '10\", Ltd, S/Edition, Unofficial, Int',\n", " '14xFile, MP3, Album, VBR',\n", " '16xFile, MP3, Comp, 320',\n", " 'DVDr, Comp, Unofficial, NTSC',\n", " 'CD, Album, Unofficial, RE',\n", " 'LP, Ltd, Unofficial, Red',\n", " 'LP, Transcription, Ver',\n", " '2xHDCD, Album, Comp, Unofficial',\n", " '7xLP, Comp, S/Edition + Box',\n", " 'DVD-V, D/Sided, Comp, Unofficial',\n", " '2xLP, Mono, Transcription',\n", " 'CD, Mono, Num, Unofficial',\n", " 'LP, Ltd, Unofficial, Mul',\n", " 'Cass, Album',\n", " '3xLP, Comp, Mono + Box',\n", " 'CD, Dig',\n", " 'CD, Comp, Unofficial, Mono, Dig',\n", " 'LP, Comp, Mono, P/Unofficial, Blu',\n", " 'LP, Album, RE + LP, Album, RE + Comp, Ltd',\n", " '41xDVD-V, Mono, Unofficial, NTSC, Reg',\n", " 'CDr, Mixed, Ltd, Unofficial',\n", " 'CD, Unofficial + DVD, Unofficial, NTSC',\n", " 'VHS, Comp, Unofficial',\n", " 'DVD-V, PAL',\n", " '9xCDr, Unofficial',\n", " '2xCD, Comp, RM, Unofficial',\n", " 'DVDr, Unofficial',\n", " 'CD, Comp, Mixed, Unofficial',\n", " '2xCDr, Mixed, Ltd, Promo',\n", " 'Blu-ray-R, Dlx, Enh, Unofficial',\n", " '2xLP, Comp, Num, Col + 2xCass',\n", " '7\", Single, Mono',\n", " '15x7\", Single, Unofficial + Box',\n", " '2xCDr, Comp, P/Mixed',\n", " '2xCD, Unofficial, RM',\n", " 'File, MP3, Album',\n", " '2xCD, Unofficial + DVD, Unofficial',\n", " '5xDVD-V, Unofficial, NTSC, Reg',\n", " '10\", Mono, Comp, Unofficial, Ora',\n", " '2xCD, Album',\n", " 'LP, Pic, Unofficial, lim',\n", " 'File, MP3, Mixed, 320',\n", " '12\", S/Sided, Unofficial',\n", " '2xDVDr, DVD-V, Unofficial, NTSC',\n", " 'CD, Album, Ltd, Num, Promo, Unofficial, Pic',\n", " '2x12\", Comp',\n", " 'Cass, Comp, Promo',\n", " 'CD, Comp, Unofficial + CD, Album, RE, RM, Unoffici',\n", " 'LP, Ltd, Unofficial',\n", " 'LP, Num, Unofficial',\n", " '7\", Mono',\n", " '21xFile, MP3, Comp, 320',\n", " '2xDVD, Unofficial',\n", " 'Cass, MiniAlbum',\n", " '3xCD, Album, Comp',\n", " '3xLP, Comp, P/Unofficial, Promo, Unofficial, BOX',\n", " '10\", Comp, Mono, Unofficial, Ora',\n", " 'Cass, Comp, Ltd',\n", " 'Box, Ltd, Unofficial, Num, 5LP',\n", " 'CD, Album, RM, S/Edition, Unofficial',\n", " 'CDr, Comp, Ltd, P/Mixed',\n", " 'Cass, Comp, Dou',\n", " 'Cass, Album, Comp',\n", " '2xCDr, Comp, Promo',\n", " 'Cass, Comp, Unofficial, Dol',\n", " 'CD, Comp, Ltd, Unofficial + 7\", Ltd, Unofficial',\n", " 'LP, Pic, Unofficial',\n", " 'LP, Album, Com',\n", " 'Flexi, Mono, Unofficial, S/Sided, Gre',\n", " '5xCD, Comp, Copy Prot. + Box',\n", " 'CD, Unofficial, Dig',\n", " '4xCD, Comp, Ltd + Box',\n", " '2x10\", Pic, Unofficial',\n", " 'LP, Album, Unofficial, Lam',\n", " '7\", Jukebox, Yel',\n", " '2xLP, Transcription',\n", " '14xFile, FLAC, Comp',\n", " '4xLP, Transcription',\n", " 'CD, Mini, Single',\n", " 'Flexi, Unofficial',\n", " '7\", EP, Ltd, Num, Unofficial',\n", " 'VHS, Unofficial, PAL, Uno',\n", " 'DVDr, DVD-V, Mixtape, Unofficial, NTSC',\n", " '7\", Jukebox, Tra',\n", " '8xLP, Album, Unofficial + 2xLP, Comp, Unofficial +',\n", " '2xCD, Unofficial, Mono',\n", " '12\", Maxi, Comp, Promo',\n", " 'CD, Album, Comp',\n", " 'DVDr, DVD-V, Unofficial, NTSC',\n", " '3xCD, Comp + Box',\n", " '2xFile, MP3, Single',\n", " 'CDr, Album',\n", " '12\", Promo, Mixed, Unofficial',\n", " '12\", Comp, Promo, Unofficial',\n", " 'CD, RM, Unofficial + DVD, RM, Unofficial',\n", " '3xCD, Album, Unofficial',\n", " '2xDVD, Unofficial, Tri',\n", " 'CD, Comp, Unofficial, Mono',\n", " 'DVD, Comp, Unofficial',\n", " '7xLP, Mono, Transcription',\n", " 'LP, Cle + LP, Cle + LP, Sol + Album, Ltd',\n", " 'Box + CD, Album, Mono, RE + CD, Album, RE + CD, Co',\n", " 'CD, Comp, Ltd, Mixed, Unofficial, Dig',\n", " 'LP, Comp, Mono, 1st',\n", " '4xCD, Unofficial + Box, Comp',\n", " 'LP, Comp, RE',\n", " '7\", EP',\n", " 'CDr, Single',\n", " 'Cass, EP',\n", " 'CD, Album, Spl',\n", " 'CD, Unofficial, Vin',\n", " 'CD, Comp, RM, Unofficial, Pap',\n", " 'LP, Ltd, Num, Unofficial',\n", " 'CD, Transcription, Unofficial',\n", " 'LP, Album, Unofficial, Red',\n", " '8-Trk, Comp',\n", " 'LP, Num, P/Unofficial, Pic, S/Edition',\n", " '2xLP, Rad',\n", " 'DVD-V, Comp, Mono, Unofficial, Dig',\n", " 'LP, Promo, Comp, P/Unofficial',\n", " '9xDVD-V, Comp, NTSC + Box',\n", " '2xCD, Album, RE + CD, Comp, RE + Comp',\n", " '2xLP, Album',\n", " 'LP, Col + CD + Unofficial',\n", " 'CD-ROM, Comp, Unofficial, Mp3',\n", " 'CD, Comp, Unofficial + DVD, Comp, Unofficial',\n", " '3xLP, Promo, Transcription, Box',\n", " '5xLP, Pic, Unofficial, Box',\n", " '3xDVD-V, NTSC + 3xCD + Box, Unofficial',\n", " '8-Trk',\n", " 'CD, Comp, Promo + CD, Comp, Promo, Mixed, Enh + CD',\n", " '12\", P/Unofficial, W/Lbl',\n", " '12xLP, P/Unofficial, Promo',\n", " '9xCD, Comp, Club + Box',\n", " '4xLP, Blu + 3xCD + Box, Ltd, Unofficial',\n", " '5xDVD-V, Comp, Unofficial, Dig',\n", " 'CD-ROM, Comp, Unofficial, WAV',\n", " '6\", S/Sided, Mono, Unofficial, Pos',\n", " 'LP, Unofficial, Aqu',\n", " 'CD, Unofficial, CD ',\n", " 'CDr, Album, RE, Unofficial',\n", " '3xLP, Comp, Whi + 7\", Whi + Box, Unofficial',\n", " '7\", S/Sided, Single',\n", " 'DVD-V, Comp, Mono, Unofficial, NTSC',\n", " '10\", EP, Ace',\n", " '4xCD, Comp',\n", " 'Box, Unofficial + 7xCD',\n", " 'LP, Mono, Unofficial',\n", " '5xLP, Ora + 3xCD + Box, Unofficial, Ltd',\n", " '193xM/Stick, WAV, Comp, RM, Unofficial, 24- + 193x',\n", " '2xCD, Comp, Ltd, Unofficial',\n", " '8xCD, Unofficial',\n", " 'VHS, Comp, Promo, NTSC',\n", " 'CD, Comp, P/Mixed, Promo',\n", " 'Cass, Comp, CAS',\n", " 'Box, Ltd, Unofficial + 13x7\", Mono, Unofficial',\n", " 'File, MP3, Unofficial, 320',\n", " '2xLP, Comp, Num + LP, Num + 7\", Single, RE, Tra + ',\n", " 'CD, Unofficial + DVD, Unofficial',\n", " 'LP, Comp, M/Print, Unofficial',\n", " 'CD, Mixed, Promo, Unofficial',\n", " 'Box, Single, Comp + 5x7\", Single',\n", " 'Cass, Ltd',\n", " 'CD + CD, Maxi',\n", " 'DVD-V, Comp, Unofficial, NTSC + CD, Comp, Unoffici',\n", " '7\", EP, Pic, Unofficial',\n", " '7\"',\n", " 'LP, Comp, Smplr',\n", " 'LP, Unofficial, Red',\n", " 'CD, Transcription',\n", " '26xFile, MP3, 192',\n", " 'CDr, Comp, Promo + CDr, Single, Promo',\n", " 'Flexi, S/Sided, Unofficial, Mono, Pos',\n", " '10\", Single',\n", " '34x7\", Single, RE + Box, Comp',\n", " '22xFile, MP3, Comp',\n", " '3xCD, Comp, P/Unofficial + Box, P/Unofficial',\n", " 'LP, Album, Mono, Unofficial, W/Lbl',\n", " 'LP, Album, Comp, Unofficial',\n", " '2xCD, Unofficial',\n", " 'CD, Unofficial, Hol',\n", " 'CD, Mono, RE, Unofficial, Dig',\n", " '6xLP, Promo',\n", " 'Cass, Unofficial',\n", " '4x12\", Ltd, Unofficial, Col',\n", " 'LP, Unofficial',\n", " '2xLP, Comp, Mono',\n", " '9xCD, Unofficial',\n", " 'LP, Comp, Unofficial, Yel',\n", " 'Cass, Album, Promo',\n", " '10\", Shape, Unofficial, Gre',\n", " 'CD, Album, Mono, Unofficial',\n", " 'VHS, Unofficial, PAL',\n", " '7\", Album, Unofficial',\n", " '7\", Pic',\n", " 'LP, Album, Comp, M/Print',\n", " '8xCD, Unofficial + Box',\n", " '2xCD-ROM, Comp, Unofficial, MP3',\n", " 'DVD-V, Unofficial',\n", " 'DVDr, Unofficial, PAL',\n", " 'DVDr, DVD-V, Num, RM, Unofficial + CDr, Num, RM, U',\n", " 'LP, Comp, Unofficial, Red',\n", " '7\", Single, Mono, Promo, Unofficial',\n", " '2xLP, Promo, Unofficial',\n", " 'CDr, Unofficial + DVDr, DVD-V, Unofficial, 5.1',\n", " '2xCD, Album, Mono, Unofficial, Num',\n", " 'CD, Comp, Ltd, Num, Unofficial',\n", " 'DVD-V, Comp, NTSC',\n", " '25xFile, MP3, Comp, 224',\n", " 'LP, Mono, Unofficial, W/Lbl',\n", " '5xCD, Comp, Dig',\n", " 'Cass, Comp, Club',\n", " '2xCass, Unofficial',\n", " 'CD, Unofficial + Cass, Unofficial + VHS, Unofficia',\n", " '3xLP, Album, Comp, Unofficial',\n", " 'Flexi, S/Sided, Single, M/Print, Unofficial',\n", " '15xCD, EP, Car + Box, Comp, Unofficial',\n", " 'Cass, Mixed, Mixtape',\n", " '7\", EP, Mono',\n", " 'CD, Shape, Unofficial, Pic',\n", " 'CD, Unofficial, 5.1',\n", " 'LP, Unofficial + CD, Unofficial',\n", " '2xLP, Comp, Gat',\n", " 'LP, Album, Ltd, Pic, Promo',\n", " '2xLP, Comp + Box, Comp',\n", " '2xLP, Comp, Promo',\n", " '2xCDr, Mixed, Unofficial, Boo',\n", " '9xCD, Comp',\n", " '3xCD, Unofficial + Box',\n", " '2xCD, Comp, HDC',\n", " '5xLP, Comp',\n", " '4xCD, Comp, Unofficial',\n", " '3xCD, Comp + Box, Unofficial',\n", " 'CD, Album, P/Unofficial',\n", " '3xLP, Album, Unofficial',\n", " 'CDr, Mixed, P/Unofficial',\n", " 'Cass, Comp, Unofficial',\n", " 'CD, Album, Comp, Promo, Unofficial',\n", " '16xFile, MP3, Comp, Unofficial, 320',\n", " '12\", Comp, Ltd, Maxi, Promo',\n", " '12\", Ltd, Unofficial, Blu',\n", " '8-Trk, Comp, Club',\n", " 'CD, Album, Unofficial, Pap',\n", " '16xCD, Comp + Box, Ltd, Num',\n", " 'CD, Comp, Ltd, Mixed',\n", " '2xCD, Comp, Mixed, P/Mixed',\n", " 'LP, 180',\n", " 'LP, Mono, Red',\n", " '6xFlexi, 7\", Mono',\n", " '11xLP, Ltd, Unofficial, Mul + Box',\n", " 'Flexi, 6\", Shape, S/Sided, Mono, Card, Pic, Unoffi',\n", " '7\", EP, Unofficial, Blu',\n", " 'DVD-V, Comp, Pic',\n", " '5xLP + 2xCD + DVD + Box, Unofficial, Ltd',\n", " '7\", Num, Promo',\n", " 'CD, Comp, Ltd',\n", " '10\", Unofficial, Cle',\n", " '7xFile, MP3, Album, 320',\n", " '2xLP, Comp, Box',\n", " 'LP, Unofficial, Gat',\n", " '2xLP',\n", " 'Vinyl, Shape, Unofficial, Pic',\n", " '2x12\", Comp, Unofficial',\n", " '2xLaserdisc, 12\", PAL, SECAM, 625',\n", " '3xLP, Comp, Box',\n", " '12\", Ltd, Num, Unofficial',\n", " '7\", Single, Tri',\n", " '4x7\", Ltd, Pic, Unofficial',\n", " '3xCD, Unofficial',\n", " '7\", EP, Ltd',\n", " 'Laserdisc, 12\", S/Sided, NTSC, CLV',\n", " 'LP, Comp, Mono, Pic, Unofficial',\n", " 'DVDr, Unofficial, NTSC, 5.1',\n", " 'CD, Mini, Comp, Unofficial',\n", " 'LP, Comp, Mono, Unofficial, Ora',\n", " '7\", Promo, Red',\n", " '13xLP, Transcription',\n", " 'LP, Comp, Ltd',\n", " '6\", Single, Fle',\n", " 'Shellac, 10\"',\n", " 'LP, Comp, Ltd, Mixed, Promo',\n", " '3xDVD-V, NTSC, Unofficial',\n", " '5xCDr, Comp, Dlx, Ltd, P/Mixed, RM, S/Edition, Uno',\n", " '7\", Ltd, Num, Pin',\n", " '3xLP, Comp, Rad',\n", " 'CDr, Comp, Ltd, Mixed, Unofficial, 6 c',\n", " '2xCD, Unofficial + 2xDVD, Unofficial',\n", " '2xCD, Comp, Unofficial, Pap',\n", " 'LP, Unofficial, Comp',\n", " '12\", Pic, Ltd, Unofficial',\n", " 'Flexi, 6\", S/Sided, Mono, Unofficial',\n", " 'CDr, Ltd',\n", " '2xDVD-V, Comp, RM, Unofficial, Dig',\n", " '10xLP, Album + Box, Comp, Unofficial',\n", " 'CD, Unofficial, RM + DVD, Unofficial, Mono, RM',\n", " 'CD, RM, Unofficial',\n", " '7\", EP, Jukebox',\n", " 'CDr, Comp, Mono, Unofficial',\n", " '13xCD, Unofficial + 2xDVD, Unofficial, NTSC',\n", " 'Flexi, S/Sided',\n", " '2xCD, Comp, Num, Unofficial',\n", " 'Album, Dig + CD, Album + DVD-V, NTSC, Album',\n", " 'CD, Single, Mono, Ltd, Promo, 200',\n", " '5xCD, Comp, Ltd + Box, Ltd',\n", " '2xCD, Comp, Promo, Smplr',\n", " 'LP, Comp, Ltd, Unofficial',\n", " '17xFile, MP3, Comp, Unofficial, 320',\n", " 'LP, Ltd, Unofficial, 17x',\n", " '5xCD, Unofficial',\n", " 'CD, Unofficial + DVDr, Unofficial',\n", " '12\", Album, Promo, Unofficial, Fak',\n", " '4xCD, Comp + Box, Unofficial',\n", " '2xDVD-V, Comp, Unofficial',\n", " 'LP, Comp, Pic',\n", " 'File, MP3, Mixed',\n", " 'Flexi, 7\", S/Sided, Promo, Smplr',\n", " 'CD, Album, Comp, Ltd, Num, Promo, Unofficial',\n", " 'Acetate, LP, Unofficial',\n", " 'LP',\n", " 'LP, Transcription + LP, S/Sided, Transcription',\n", " 'VHS, Comp, PAL',\n", " 'LP, Num, S/Edition, Unofficial, Gre',\n", " '7\", Mono, Promo, Unofficial, Col',\n", " 'LP, Comp, Mono',\n", " '12\"',\n", " '4xDVD, Unofficial',\n", " 'LP, Mono, Pic, Unofficial',\n", " 'CD, Comp, Mono, Gol',\n", " 'Cass, Comp, Ltd, Unofficial',\n", " 'CD, Album, RM, RE, Unofficial + CD, Album',\n", " '24xCD + Box, Unofficial',\n", " '7\", Single, Jukebox, RE, Red',\n", " '7\", Promo, Mono',\n", " 'CD, Single',\n", " 'Box + 5xCD, Comp, Promo',\n", " '2xCDr, Comp, Mixed, Promo',\n", " 'CD-ROM, Comp, Unofficial, MP3',\n", " '2xLP, Album, Comp, Fol',\n", " 'LP, S/Sided, Mono, Unofficial',\n", " '10xCD, Comp + Box',\n", " 'CDr, Album, Ltd',\n", " 'CD',\n", " 'DVD-A, NTSC, Unofficial',\n", " '12\", EP',\n", " '18xFile, MP3, Comp, 320',\n", " 'CDr, CD-ROM, Comp, Unofficial, MP3',\n", " 'LP, Unofficial, Sil',\n", " '7\", Single',\n", " 'CD, Comp, Ltd, Unofficial',\n", " '11xCD, Unofficial + DVD, Unofficial, NTSC, NTS',\n", " 'CD, Ltd, Mixed, Promo',\n", " 'CD, Mono, Unofficial',\n", " '2xCDr, Comp',\n", " 'CD, Comp, Promo, Unofficial',\n", " 'CDr, Comp, Promo, RM',\n", " 'Cass, Album, Ltd',\n", " '3xLP, Transcription, Rad',\n", " 'VHS',\n", " 'Acetate, 7\", S/Sided, Single, W/Lbl, Ace',\n", " 'CD, Comp, P/Mixed',\n", " '10\", Album, Mono, Red',\n", " '7\", Unofficial, Gre',\n", " 'CD, Unofficial, Comp',\n", " 'File, MP3, Comp, Mixed, 320',\n", " '2xLP, P/Unofficial',\n", " '12\", Unofficial',\n", " 'CD, Unofficial, Ltd',\n", " '7\", S/Sided, Promo, Smplr, W/Lbl',\n", " 'CD, Mini, 3\" ',\n", " 'DVD, Kar',\n", " '2xLP, Comp, Unofficial, Col',\n", " '7\", Single, Pus',\n", " '7\", EP, Transcription, Unofficial',\n", " 'CD-ROM, Unofficial, MPE',\n", " '2xCDr, Unofficial',\n", " 'CDr, Promo, Smplr',\n", " 'LP, Unofficial, Album, Red',\n", " '5xCD, Comp, Mono, Unofficial + DVD, Comp, Mono, NT',\n", " 'LP, Club, Ltd, Unofficial, W/Lbl',\n", " 'Laserdisc, 12\", S/Sided, Comp, Promo, NTSC',\n", " 'LP, Comp, Unofficial, Blu',\n", " 'SACD, Hybrid, Comp',\n", " 'LP, Album',\n", " 'CD-ROM, Unofficial, WAV',\n", " 'LP, Album, Unofficial, W/Lbl',\n", " 'DVD-V, D/Sided, Comp, Unofficial, PAL, Dig',\n", " '6\", Single',\n", " '3x12\"',\n", " '2xLP, Gat',\n", " '4xCD, Ltd, RM, Unofficial',\n", " '7\", Jukebox',\n", " '3xLP, Comp',\n", " '7\", Single, Gre',\n", " 'CDr, Comp, Mixed',\n", " '4xCDr, Album, Unofficial',\n", " '2xLP, Comp, RE, Gat',\n", " 'LP, Mono, Unofficial, Col',\n", " 'LP, Unofficial, Shape',\n", " 'Flexi, 7\", S/Sided, Mono',\n", " '7xCD, Unofficial + DVD-V, Unofficial, NTSC + Box, ',\n", " '2xDVD-V, Unofficial, NTSC, Cod',\n", " 'Flexi, 5½\", Card, Unofficial, Pos',\n", " 'CD, Unofficial, Mono, Liv',\n", " 'CD, Album, Comp, Promo, RM',\n", " '4xCD, Unofficial',\n", " '4xCDr, Comp, Unofficial',\n", " 'LP, Comp, Club',\n", " '3xLP, Transcription',\n", " '7\", Single, S/Edition, Unofficial',\n", " 'CD, Comp, Promo, Smplr',\n", " 'LP, Ltd, Pic, Unofficial, Lim',\n", " '2xCD, Mono, Ltd, Unofficial',\n", " '7\", Single, Mono, Unofficial, Red',\n", " 'LP, Unofficial, Ltd, Mul',\n", " 'LP, Comp, Mixed, Ltd, Promo',\n", " '7\", EP, Promo',\n", " '2xVCD, RM, S/Edition, PAL',\n", " 'LP, Album, Mixed',\n", " '3xLP, Comp, Dlx + Box',\n", " '30xFile, AAC, Comp, 256',\n", " '6xCD, Unofficial',\n", " 'CD, Comp, Dig',\n", " '33xFile, MP3, Album, Unofficial, 320 + File, MP3, ',\n", " '2xLP, Mixed',\n", " 'Betacam SP, PAL',\n", " '4xLP, Comp, Unofficial, Box + 2xCD, Comp, Unoffici',\n", " 'CD, MiniAlbum, RE, Unofficial',\n", " 'Cass, Comp, Ltd, C-4',\n", " 'Box + 3xLP, Album, Comp',\n", " 'LP, Comp, Pic, Unofficial',\n", " 'CDr, Ltd, Mixed, Num, Promo',\n", " '4xCD + Box, Ltd',\n", " 'CD, Album, Promo, Unofficial',\n", " 'Shellac, 10\", Single',\n", " '22x7\" + Box, Unofficial',\n", " '2xCD, Unofficial + Box, Ltd, Num',\n", " '12xCD, Comp, RM, Ltd + Box, Unofficial',\n", " 'CD, Comp, Car',\n", " 'Cass, Comp, Unofficial, HX-',\n", " '7\", Mixed, Promo, Blu',\n", " 'CD, Single, Ltd, Promo',\n", " 'CD, Album, Promo, RM',\n", " 'LP, Unofficial, Col',\n", " 'VHS, Promo, NTSC + Box',\n", " '8xCD, Comp + Box, Ltd, Unofficial',\n", " '2xCD, Comp, Unofficial',\n", " 'LP, Unofficial, Tru',\n", " '4xCD, Album, Comp, RM, Unofficial',\n", " '3xCD, Unofficial, Tri',\n", " '2xCD, Album, Unofficial + 2xDVD-V, Unofficial, NTS',\n", " 'Flexi, 6\", S/Sided',\n", " '2xCass, Comp',\n", " '7\", EP, RE',\n", " '9xLP, Album, Mono, Ltd, Promo',\n", " 'CD, EP, Comp, Ltd',\n", " '7\", Unofficial, W/Lbl',\n", " '17xFile, MP3, Comp, 320',\n", " 'LP, Comp, Col',\n", " 'File, AAC, Album, Comp',\n", " 'CD, RE, Unofficial',\n", " '2xCD, Album, Comp, RM, Unofficial',\n", " '10xLP, Comp + Box',\n", " '2xCD, Comp, Promo',\n", " '4xLP, Album, Comp',\n", " '2xCDr, Comp, Unofficial',\n", " 'DVD-D, MP3 + DVD-V, D/Sided + Comp, Unofficial',\n", " 'VHS, Ltd, Pic + CD, Rar + Box, Vid',\n", " '2xCD',\n", " '7\", S/Sided, Mono, Ltd, Unofficial',\n", " '2xLP, Ltd, Unofficial, Yel',\n", " 'File, MP3, Mixed, P/Unofficial, 320',\n", " '7\", EP, M/Print',\n", " 'PlayTape, EP, Mono',\n", " 'CD, Comp, Smplr',\n", " '12\", Pic, Unofficial',\n", " '2xCD, RM, Unofficial',\n", " 'Shellac, 5½\", EP, Unofficial',\n", " '3xCD, Comp, RM',\n", " 'LP, Album, Promo, Unofficial',\n", " '2xCD, Unofficial, Comp, Dig',\n", " 'LP, Comp, Unofficial, Gre',\n", " 'Flexi, 6\", Shape, S/Sided, Mono, Unofficial',\n", " 'CD, Comp, ',\n", " 'Box, Unofficial + 10xCD',\n", " '62xCD, Comp + 10xDVD + Box, Comp, Unofficial',\n", " 'CD, Album, RM, Unofficial',\n", " 'LP, Album, Mono, Comp',\n", " 'DVD-V, A5 ',\n", " '7\", Single, Unofficial, Red',\n", " '7\", Single, Promo, Juk',\n", " 'CD, Comp, Unofficial, Dig',\n", " '10\", Comp, Unofficial, Ora',\n", " '16xFile, FLAC, Comp',\n", " 'Cass, Mono, RE',\n", " 'DVDr, Comp, Mono, Unofficial, NTSC',\n", " 'CD, Album, Promo',\n", " 'CD, Album, Unofficial, Dig',\n", " 'Reel, 4tr Stereo, 7\" Reel, Album, Comp',\n", " '2xCD, Ltd, Unofficial',\n", " 'LP, Comp, Unofficial',\n", " '2xDVD, Comp, Unofficial',\n", " 'LP, Album, Mono, Unofficial',\n", " '6xLP, Comp + LP, S/Sided + Box, Comp',\n", " '12\", Mono',\n", " '6xLP, Ltd, Unofficial, Num + Box',\n", " '2xLP, Album, Unofficial, Gat',\n", " 'LP, Comp, Promo',\n", " 'CD-ROM, Promo, PAL',\n", " '10\", Shape, Unofficial, Red',\n", " '4xCD, Comp, Unofficial + Box',\n", " '7\", Unofficial, EP, Num, Whi',\n", " '10\", Shape, Mono, Unofficial',\n", " 'DVD-V, Unofficial, NTSC, Dol',\n", " '7\", Single, Num, RE',\n", " '7\", EP, Pic',\n", " '3xCD, RM, Unofficial',\n", " '5xLP, Col + 3xCD + DVD + Box, Unofficial, Ltd',\n", " 'Cass, Album, Comp, Unofficial',\n", " 'CD, Unofficial, Jew',\n", " '2xFlexi, 7\", Comp, Mono',\n", " 'Cass, Album, Unofficial',\n", " 'CD, Promo, Unofficial',\n", " 'CDr, Unofficial, Jew',\n", " '3xCD, Unofficial + DVD, Unofficial',\n", " 'LP, Comp, Red',\n", " 'VCD, Comp, NTSC',\n", " 'DVD-V, Comp, PAL, Dol',\n", " 'File, MP3, Unofficial, 192',\n", " '12\", S/Sided, Mixed, Unofficial',\n", " '2xCD, Comp, P/Mixed',\n", " 'CD, Comp',\n", " '22xFile, MP3, Liv',\n", " '6xFile, MP3, 320',\n", " 'CD, Album, Comp, Unofficial',\n", " '7\", EP, Comp',\n", " '16xFile, MP3, Album, Ltd, 320',\n", " '2xCD, Mono, Unofficial',\n", " '2xLP, Comp, Unofficial',\n", " '3xCD, Comp, Club',\n", " 'LP, Smplr',\n", " '5xCDr, Ltd, Num + DVD, Unofficial',\n", " 'CD, Mixed, P/Unofficial, Promo',\n", " '2xCD, Album, RM, Unofficial',\n", " 'CD, Unofficial, Ltd, Num',\n", " '10\"',\n", " 'CD-ROM, Comp, Mp3',\n", " 'CD, Promo, Smplr',\n", " 'LP, Ltd, Unofficial, Bla',\n", " 'CD, Ltd, Unofficial + 7\", Unofficial',\n", " '12\", W/Lbl',\n", " '6xCD, Album, Comp, lon',\n", " '5xCD, Comp + Box',\n", " 'DVD-V, D/Sided, Comp, Unofficial, DVD',\n", " 'CD, Mixed, Unofficial',\n", " '2xDVD, Unofficial, NTSC',\n", " 'CD, Comp, P/Unofficial',\n", " 'LP, Comp, Num, Pic, Com',\n", " 'Blu-ray-R, Album, Unofficial',\n", " '12\", Unofficial, W/Lbl',\n", " 'LP, Comp, Mono, Unofficial',\n", " 'CDr, CD-ROM, Comp, RM, Unofficial',\n", " '10xFile, MP3, Mixed, 128',\n", " 'Flexi, Card, S/Sided',\n", " '7\", Unofficial',\n", " 'LP, Comp, Ltd, RM, Unofficial, Red',\n", " '2xCDr, Comp, P/Mixed, Unofficial',\n", " 'File, MP3, Mixed, 192',\n", " 'CD, Shape, Ltd, Unofficial',\n", " 'File, MP3, Mixed, 320 + 5xFile, MP3, EP, 320',\n", " 'CD, Unofficial',\n", " '2xCD, Comp, Unofficial, Dig',\n", " 'Flexi, S/Sided, Mono, Unofficial, Gre',\n", " 'LP, Album, Unofficial, Pur',\n", " 'CD-ROM, Comp, Unofficial, mp3',\n", " '7\", Jukebox, S/Edition',\n", " '2xCD, Unofficial, Promo, Bla',\n", " 'Flexi, 8\", 5½\", S/Sided',\n", " '4xDVD, Unofficial, NTSC, Cod',\n", " '2x12\"',\n", " 'CD, Album, Unofficial + DVD, Album, Unofficial, NT',\n", " 'CDr, Comp, RM',\n", " '3xFile, MP3, Mixed, 320',\n", " '2xLP, Unofficial, Mul',\n", " 'CD, Album, S/Edition',\n", " '2xLP, Comp, Pic',\n", " '16xFile, MP3, Comp, Mixed',\n", " '7\", Single, Unofficial',\n", " 'CD, Ltd, Num',\n", " '7\", EP, Mon',\n", " '12\", Mono, P/Unofficial',\n", " 'CDr, Mixtape',\n", " 'Flexi, 7\", Unofficial',\n", " '4xCD, Ltd, Unofficial',\n", " '7\", Jukebox, Blu',\n", " 'CD, Comp, Mono, Unofficial',\n", " '15xFile, MP3, Comp, 320',\n", " '7\", Single, P/Unofficial',\n", " 'DVD-V, Comp, Unofficial, NTSC',\n", " '25xFile, MP3, Comp, 320',\n", " 'CD, Album, Ltd, Unofficial',\n", " '2xCD, Comp + Box',\n", " '7\", Single, TP, Sin',\n", " 'CDr, Promo',\n", " '4xCD, Comp, Str',\n", " 'CDr, Comp, P/Mixed, S/Edition',\n", " 'CD-ROM, Comp, Mono, Unofficial',\n", " 'LP, P/Unofficial',\n", " '2xCD, Comp, Mixed',\n", " 'Box, Comp, S/Edition + 12x7\", EP, RE',\n", " 'DVD-V, RM, PAL',\n", " '4x7\", Comp, Promo',\n", " 'Flexi, Mono, Promo, Smplr',\n", " 'LP, Album, Gat',\n", " 'File, MP3, Unofficial, 128',\n", " 'CD, Album, Unofficial + DVD, Unofficial, NTSC, NTS',\n", " 'Flexi, S/Sided, Unofficial, Mono, Bro',\n", " 'Cass',\n", " 'Flexi, 7\", S/Sided, Gat',\n", " '12xCD, Unofficial + DVD, Unofficial + Box, Unoffic',\n", " 'DVDr, Promo, PAL',\n", " '2x12\", Comp, P/Mixed, Promo',\n", " '10xCD, Unofficial',\n", " '12\", Single, Promo',\n", " '2xCDr, Mixed, Promo',\n", " '2xLP, Unofficial, Blu',\n", " '7\", MP, Pic',\n", " 'Flexi, S/Sided, Unofficial',\n", " 'LP, Mono, Unofficial, Bla + LP, Mono, Unofficial, ',\n", " '7\", EP, Mono, Red',\n", " 'VHS, Unofficial',\n", " 'Acetate, 7\", S/Sided',\n", " 'File, FLAC, EP',\n", " 'VHS, Comp',\n", " 'CD, Comp, Promo',\n", " '7\", EP, Mono, Club',\n", " '4xCD, Comp, Box',\n", " '17xFile, MP3, Album, 320',\n", " 'LP, Comp, MP, M/Print, RE',\n", " 'LP, Comp, Promo, Red',\n", " 'CD-ROM, Comp, Unofficial + 222xFile, MP3, 160',\n", " 'Box, Unofficial + 2xCD, Comp',\n", " '4xCD, Unofficial, Ltd',\n", " 'CD, Ltd, Unofficial',\n", " 'Cass, Mixed, Unofficial',\n", " '2xLP, Pic, Unofficial, Yel',\n", " 'LP, Ltd, Mono',\n", " '7\", Single, Mono, Pic, Unofficial',\n", " 'LP, Ltd, Num, Unofficial, Gre',\n", " 'CD, Comp, RM, Unofficial',\n", " '3xCD, Comp, Unofficial',\n", " '5xLP + 3xCD + DVD + Box, Unofficial, Ltd',\n", " 'CDr, Album, Comp, Unofficial',\n", " '2xCD, Comp',\n", " 'Box, Comp + CD, Album, RE, RM, Mono + CD, Album, R',\n", " 'CD, Shape, Ltd',\n", " '2xLP, Mono, Unofficial',\n", " 'CDr, Album, Unofficial',\n", " 'Box, Comp + CD, Album, RE, RM + CD, Album, RE, RM ',\n", " 'LP, P/Unofficial, Transcription',\n", " 'CD, Comp, Ltd, Promo',\n", " 'DVD + CD',\n", " 'LP, Album, Unofficial',\n", " 'Box, Tal + 10xCD, Comp, Mono',\n", " 'CDr, Comp, Unofficial',\n", " '12\", Ltd, Unofficial',\n", " 'CD, P/Unofficial',\n", " 'CD, Mini',\n", " '2xCD, Unofficial + Box',\n", " 'LP, Album, Mono, Ltd, Unofficial, Blu',\n", " 'Cass, Comp, Mixed, Unofficial',\n", " '2xCD, Mixed, Unofficial, Dig',\n", " 'VHS, PAL',\n", " '3xCD, Comp, Ltd, Num, Unofficial + DVD-V, Comp, Un',\n", " 'CD, Album, Comp, Mono, Dlx, RM, S/Edition, Unoffic',\n", " '4xLP, Comp + Box',\n", " 'LP, Comp, Gat',\n", " '7\", Ltd, Pic, Promo',\n", " '12\", Unofficial, W/Lbl, S/Sided',\n", " 'Box, Unofficial, Ltd, Num, 5LP',\n", " '3xCD, Promo, Unofficial + Box',\n", " '10xCD, Comp, Unofficial + Box',\n", " '7\", Mono, Red',\n", " '3xLP, Album, Comp',\n", " '12\", EP, Promo',\n", " 'CD, Dem',\n", " '2xDVD-V, NTSC',\n", " '2xCD, Comp, Mixed, Promo',\n", " '4xCD, Comp, RM, S/Edition',\n", " 'LP, Unofficial, Bla',\n", " '7\", Single, Jukebox, Ora',\n", " 'CD, Comp, Mono, Dlx, Ltd, RM, Unofficial + 2xDVD-V',\n", " 'File, AAC, Mixed, LC',\n", " 'CDr, EP, Ltd',\n", " 'LP, Club',\n", " '2xCD, Comp, RM',\n", " '22xFile, MP3, Comp, 320',\n", " 'Flexi, S/Sided, Unofficial, Mono',\n", " '7\", Promo, RE, Unofficial, Mono',\n", " '3xCD, B/card, Comp, Unofficial, Box',\n", " '2xHDCD, Comp',\n", " '7\", EP, RP',\n", " 'DVD-V, D/Sided, Unofficial',\n", " '19xFile, MP3, Comp, 192',\n", " 'Flexi, 7\", Card, Blu',\n", " '4xCD, Unofficial + Box, Unofficial',\n", " '7\", EP, Mono, Promo, Unofficial',\n", " '5xCD, Comp',\n", " '8xLP, Comp, Box',\n", " '7\", Single, Unofficial, Blu',\n", " '2xCD, Promo, Smplr, Comp',\n", " 'CD, Comp, RM',\n", " '7\", EP, Comp, Ltd, Num, Unofficial',\n", " 'CD, Comp, P/Unofficial, RP',\n", " '2xCD, Comp, Mono, Unofficial',\n", " 'CD, Ltd, Num, Promo',\n", " 'LP, Unofficial, Ltd, Blu',\n", " 'CD, Promo',\n", " 'CD, Album, RM, Ltd, Unofficial, Vin',\n", " '7\", Single, Jukebox, Blu',\n", " 'CD, Comp, Unofficial, Ann',\n", " '2xCD, P/Unofficial',\n", " '2xCD, Comp, Unofficial + Box',\n", " '6xCD, Comp, Ltd, S/Edition',\n", " 'LP, Album, Unofficial, YEL',\n", " '10\", Comp, Mono, Unofficial, Red',\n", " 'CDr, Wit',\n", " '6xLP + LP, S/Sided + Box, Comp',\n", " 'CD-ROM, Comp',\n", " '2xFile, MP3, 320 + File, AAC, 256 + 7xFile, MP3, 1',\n", " 'CDr, Promo, Unofficial',\n", " 'CDr, Comp, P/Mixed',\n", " '4xLP, Comp',\n", " 'Flexi, 7\", S/Sided, Ltd, Gat',\n", " 'DVDr, Comp, Unofficial',\n", " '2xCD, Album, Unofficial',\n", " 'DVDr, DVD-V, Ltd, Num, Unofficial',\n", " '12x7\", EP, RE',\n", " '7\", Promo, Fle',\n", " 'DVD-V, Comp, Mono, Unofficial, NTSC, Dig',\n", " '14xFile, MP3, Album, 320',\n", " '10xLP, Album, RE + Box, Comp',\n", " '12\", EP, Unofficial, W/Lbl',\n", " '3xLP, Comp, Smplr + Box',\n", " 'Laserdisc, 12\", S/Sided, Comp, PAL, SECAM, CLV',\n", " '12\", P/Mixed, Unofficial',\n", " '10xCD, Comp, Unofficial, Mono',\n", " '4xLP, Blu + 2xCD + Box, Ltd, Unofficial',\n", " 'CD-ROM, Win',\n", " '3xCD, Comp, Unofficial + Box',\n", " 'CD, Album, Ltd, Mixed, Num',\n", " '10xFile, MP3, 256',\n", " 'CD, Mixed',\n", " '10\", Unofficial, W/Lbl, Bla',\n", " 'LP, Unofficial, Ltd, Num',\n", " '4x7\", Single + Box, Comp, Promo',\n", " 'CD, Album, Unofficial',\n", " '16xFile, MP3, Comp, 256',\n", " 'File, MP3',\n", " '3xLP, Red + 2xCD + Box, Unofficial',\n", " 'Lathe, 7\", S/Sided, Ltd, Num, Unofficial',\n", " 'Cass, Comp, P/Unofficial',\n", " ...}" ] }, "execution_count": 50, "metadata": {}, "output_type": "execute_result" } ], "source": [ "set(r['format'] for r in releases if 'format' in r)" ] }, { "cell_type": "code", "execution_count": 51, "metadata": { "scrolled": true }, "outputs": [ { "data": { "text/plain": [ "[{'artist': 'Los Beatles*',\n", " 'format': 'LP, Comp, Mono',\n", " 'id': 3709625,\n", " 'label': 'Odeon',\n", " 'resource_url': 'https://api.discogs.com/releases/3709625',\n", " 'role': 'Main',\n", " 'status': 'Accepted',\n", " 'thumb': 'https://img.discogs.com/Q9TRW_NGja6wOMeHAlOP9_9fj0M=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-3709625-1341255067-5666.jpeg.jpg',\n", " 'title': 'Surfin Con Los Beatles',\n", " 'type': 'release',\n", " 'year': 1964},\n", " {'artist': 'The Beatles',\n", " 'format': 'LP, Comp, Mono',\n", " 'id': 3709649,\n", " 'label': 'Odeon',\n", " 'resource_url': 'https://api.discogs.com/releases/3709649',\n", " 'role': 'Main',\n", " 'status': 'Accepted',\n", " 'thumb': 'https://img.discogs.com/iPFUHDU7ce_qyj3j04gFJfQ1F-4=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-3709649-1341255732-4215.jpeg.jpg',\n", " 'title': 'The Beatles Hits',\n", " 'type': 'release',\n", " 'year': 1964},\n", " {'artist': 'The Beatles',\n", " 'format': 'LP, Album, Mono, Comp',\n", " 'id': 3709693,\n", " 'label': 'Odeon',\n", " 'resource_url': 'https://api.discogs.com/releases/3709693',\n", " 'role': 'Main',\n", " 'status': 'Accepted',\n", " 'thumb': 'https://img.discogs.com/_Bu2t8NM4ZNAUISYTJGMQ2MRo4c=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-3709693-1341259575-8345.jpeg.jpg',\n", " 'title': 'Musica De Su Pelicula Yeah, Yeah, Yeah',\n", " 'type': 'release',\n", " 'year': 1964},\n", " {'artist': 'The Beatles',\n", " 'format': '3xLP, Comp, Ltd, Mono, Gat',\n", " 'id': 6789410,\n", " 'label': 'Musart',\n", " 'resource_url': 'https://api.discogs.com/releases/6789410',\n", " 'role': 'Main',\n", " 'status': 'Accepted',\n", " 'thumb': 'https://img.discogs.com/KuFiYq9c_paCjU8PLn8Wq_GSM9Y=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-6789410-1430616945-9641.jpeg.jpg',\n", " 'title': 'The Beatles',\n", " 'type': 'release',\n", " 'year': 1964},\n", " {'artist': 'The Beatles / Julie Dawn',\n", " 'format': 'LP, Mono, Transcription',\n", " 'id': 8951737,\n", " 'label': 'BBC Transcription Services',\n", " 'resource_url': 'https://api.discogs.com/releases/8951737',\n", " 'role': 'Main',\n", " 'status': 'Accepted',\n", " 'thumb': 'https://img.discogs.com/ibi0q7o5JwsEmJS0Ol058ecFPQQ=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-8951737-1472117174-3531.jpeg.jpg',\n", " 'title': 'Alan Freeman Introduces',\n", " 'type': 'release',\n", " 'year': 1964}]" ] }, "execution_count": 51, "metadata": {}, "output_type": "execute_result" } ], "source": [ "[r for r in releases \n", " if 'format' in r\n", " if 'CD' in r['format'] or 'LP' in r['format'] or 'Album' in r['format']][:5]" ] }, { "cell_type": "code", "execution_count": 129, "metadata": { "scrolled": true }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Retrieved page 1 of 142 ; 59 requests before rate limit\n", "Retrieved page 2 of 142 ; 58 requests before rate limit\n", "Retrieved page 3 of 142 ; 57 requests before rate limit\n", "Retrieved page 4 of 142 ; 56 requests before rate limit\n", "Retrieved page 5 of 142 ; 55 requests before rate limit\n", "Retrieved page 6 of 142 ; 54 requests before rate limit\n", "Retrieved page 7 of 142 ; 53 requests before rate limit\n", "Retrieved page 8 of 142 ; 52 requests before rate limit\n", "Retrieved page 9 of 142 ; 51 requests before rate limit\n", "Retrieved page 10 of 142 ; 50 requests before rate limit\n", "Retrieved page 11 of 142 ; 49 requests before rate limit\n", "Retrieved page 12 of 142 ; 48 requests before rate limit\n", "Retrieved page 13 of 142 ; 47 requests before rate limit\n", "Retrieved page 14 of 142 ; 46 requests before rate limit\n", "Retrieved page 15 of 142 ; 45 requests before rate limit\n", "Retrieved page 16 of 142 ; 44 requests before rate limit\n", "Retrieved page 17 of 142 ; 43 requests before rate limit\n", "Retrieved page 18 of 142 ; 42 requests before rate limit\n", "Retrieved page 19 of 142 ; 41 requests before rate limit\n", "Retrieved page 20 of 142 ; 40 requests before rate limit\n", "Retrieved page 21 of 142 ; 39 requests before rate limit\n", "Retrieved page 22 of 142 ; 38 requests before rate limit\n", "Retrieved page 23 of 142 ; 37 requests before rate limit\n", "Retrieved page 24 of 142 ; 36 requests before rate limit\n", "Retrieved page 25 of 142 ; 35 requests before rate limit\n", "Retrieved page 26 of 142 ; 34 requests before rate limit\n", "Retrieved page 27 of 142 ; 33 requests before rate limit\n", "Retrieved page 28 of 142 ; 32 requests before rate limit\n", "Retrieved page 29 of 142 ; 31 requests before rate limit\n", "Retrieved page 30 of 142 ; 30 requests before rate limit\n", "Retrieved page 31 of 142 ; 29 requests before rate limit\n", "Retrieved page 32 of 142 ; 28 requests before rate limit\n", "Retrieved page 33 of 142 ; 27 requests before rate limit\n", "Retrieved page 34 of 142 ; 26 requests before rate limit\n", "Retrieved page 35 of 142 ; 25 requests before rate limit\n", "Retrieved page 36 of 142 ; 24 requests before rate limit\n", "Retrieved page 37 of 142 ; 23 requests before rate limit\n", "Retrieved page 38 of 142 ; 22 requests before rate limit\n", "Retrieved page 39 of 142 ; 21 requests before rate limit\n", "Retrieved page 40 of 142 ; 20 requests before rate limit\n", "Retrieved page 41 of 142 ; 19 requests before rate limit\n", "Retrieved page 42 of 142 ; 18 requests before rate limit\n", "Retrieved page 43 of 142 ; 17 requests before rate limit\n", "Retrieved page 44 of 142 ; 16 requests before rate limit\n", "Retrieved page 45 of 142 ; 15 requests before rate limit\n", "Retrieved page 46 of 142 ; 14 requests before rate limit\n", "Retrieved page 47 of 142 ; 13 requests before rate limit\n", "Retrieved page 48 of 142 ; 12 requests before rate limit\n", "Retrieved page 49 of 142 ; 11 requests before rate limit\n", "Retrieved page 50 of 142 ; 10 requests before rate limit\n", "Retrieved page 51 of 142 ; 9 requests before rate limit\n", "Retrieved page 52 of 142 ; 8 requests before rate limit\n", "Retrieved page 53 of 142 ; 7 requests before rate limit\n", "Retrieved page 54 of 142 ; 6 requests before rate limit\n", "Retrieved page 55 of 142 ; 5 requests before rate limit\n", "Retrieved page 56 of 142 ; 4 requests before rate limit\n", "Retrieved page 57 of 142 ; 3 requests before rate limit\n", "Retrieved page 58 of 142 ; 2 requests before rate limit\n", "Retrieved page 59 of 142 ; 1 requests before rate limit\n", "Rate limited. Sleeping for 62 seconds\n", "Retrieved page 60 of 142 ; 59 requests before rate limit\n", "Retrieved page 61 of 142 ; 58 requests before rate limit\n", "Retrieved page 62 of 142 ; 57 requests before rate limit\n", "Retrieved page 63 of 142 ; 56 requests before rate limit\n", "Retrieved page 64 of 142 ; 55 requests before rate limit\n", "Retrieved page 65 of 142 ; 54 requests before rate limit\n", "Retrieved page 66 of 142 ; 53 requests before rate limit\n", "Retrieved page 67 of 142 ; 52 requests before rate limit\n", "Retrieved page 68 of 142 ; 51 requests before rate limit\n", "Retrieved page 69 of 142 ; 50 requests before rate limit\n", "Retrieved page 70 of 142 ; 49 requests before rate limit\n", "Retrieved page 71 of 142 ; 48 requests before rate limit\n", "Retrieved page 72 of 142 ; 47 requests before rate limit\n", "Retrieved page 73 of 142 ; 46 requests before rate limit\n", "Retrieved page 74 of 142 ; 45 requests before rate limit\n", "Retrieved page 75 of 142 ; 44 requests before rate limit\n", "Retrieved page 76 of 142 ; 43 requests before rate limit\n", "Retrieved page 77 of 142 ; 42 requests before rate limit\n", "Retrieved page 78 of 142 ; 41 requests before rate limit\n", "Retrieved page 79 of 142 ; 40 requests before rate limit\n", "Retrieved page 80 of 142 ; 39 requests before rate limit\n", "Retrieved page 81 of 142 ; 38 requests before rate limit\n", "Retrieved page 82 of 142 ; 37 requests before rate limit\n", "Retrieved page 83 of 142 ; 36 requests before rate limit\n", "Retrieved page 84 of 142 ; 35 requests before rate limit\n", "Retrieved page 85 of 142 ; 34 requests before rate limit\n", "Retrieved page 86 of 142 ; 33 requests before rate limit\n", "Retrieved page 87 of 142 ; 32 requests before rate limit\n", "Retrieved page 88 of 142 ; 31 requests before rate limit\n", "Retrieved page 89 of 142 ; 30 requests before rate limit\n", "Retrieved page 90 of 142 ; 29 requests before rate limit\n", "Retrieved page 91 of 142 ; 28 requests before rate limit\n", "Retrieved page 92 of 142 ; 27 requests before rate limit\n", "Retrieved page 93 of 142 ; 26 requests before rate limit\n", "Retrieved page 94 of 142 ; 25 requests before rate limit\n", "Retrieved page 95 of 142 ; 24 requests before rate limit\n", "Retrieved page 96 of 142 ; 23 requests before rate limit\n", "Retrieved page 97 of 142 ; 22 requests before rate limit\n", "Retrieved page 98 of 142 ; 21 requests before rate limit\n", "Retrieved page 99 of 142 ; 20 requests before rate limit\n", "Retrieved page 100 of 142 ; 19 requests before rate limit\n", "Retrieved page 101 of 142 ; 18 requests before rate limit\n", "Retrieved page 102 of 142 ; 17 requests before rate limit\n", "Retrieved page 103 of 142 ; 16 requests before rate limit\n", "Retrieved page 104 of 142 ; 15 requests before rate limit\n", "Retrieved page 105 of 142 ; 14 requests before rate limit\n", "Retrieved page 106 of 142 ; 13 requests before rate limit\n", "Retrieved page 107 of 142 ; 12 requests before rate limit\n", "Retrieved page 108 of 142 ; 11 requests before rate limit\n", "Retrieved page 109 of 142 ; 10 requests before rate limit\n", "Retrieved page 110 of 142 ; 9 requests before rate limit\n", "Retrieved page 111 of 142 ; 8 requests before rate limit\n", "Retrieved page 112 of 142 ; 7 requests before rate limit\n", "Retrieved page 113 of 142 ; 6 requests before rate limit\n", "Retrieved page 114 of 142 ; 5 requests before rate limit\n", "Retrieved page 115 of 142 ; 4 requests before rate limit\n", "Retrieved page 116 of 142 ; 3 requests before rate limit\n", "Retrieved page 117 of 142 ; 2 requests before rate limit\n", "Retrieved page 118 of 142 ; 1 requests before rate limit\n", "Rate limited. Sleeping for 62 seconds\n", "Retrieved page 119 of 142 ; 59 requests before rate limit\n", "Retrieved page 120 of 142 ; 58 requests before rate limit\n", "Retrieved page 121 of 142 ; 57 requests before rate limit\n", "Retrieved page 122 of 142 ; 56 requests before rate limit\n", "Retrieved page 123 of 142 ; 55 requests before rate limit\n", "Retrieved page 124 of 142 ; 54 requests before rate limit\n", "Retrieved page 125 of 142 ; 53 requests before rate limit\n", "Retrieved page 126 of 142 ; 52 requests before rate limit\n", "Retrieved page 127 of 142 ; 51 requests before rate limit\n", "Retrieved page 128 of 142 ; 50 requests before rate limit\n", "Retrieved page 129 of 142 ; 49 requests before rate limit\n", "Retrieved page 130 of 142 ; 48 requests before rate limit\n", "Retrieved page 131 of 142 ; 47 requests before rate limit\n", "Retrieved page 132 of 142 ; 46 requests before rate limit\n", "Retrieved page 133 of 142 ; 45 requests before rate limit\n", "Retrieved page 134 of 142 ; 44 requests before rate limit\n", "Retrieved page 135 of 142 ; 43 requests before rate limit\n", "Retrieved page 136 of 142 ; 42 requests before rate limit\n", "Retrieved page 137 of 142 ; 41 requests before rate limit\n", "Retrieved page 138 of 142 ; 40 requests before rate limit\n", "Retrieved page 139 of 142 ; 39 requests before rate limit\n", "Retrieved page 140 of 142 ; 38 requests before rate limit\n", "Retrieved page 141 of 142 ; 37 requests before rate limit\n", "Retrieved page 142 of 142 ; 36 requests before rate limit\n" ] }, { "data": { "text/plain": [ "7081" ] }, "execution_count": 129, "metadata": {}, "output_type": "execute_result" } ], "source": [ "beatles_albums = get_artist_albums('The Beatles', show_progress=True)\n", "len(beatles_albums)" ] }, { "cell_type": "code", "execution_count": 130, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "{'barcode': ['7464-48544-2', 'DIDP-076121 2', '[DADC logo]', 'AAD'],\n", " 'catno': 'AK 48544',\n", " 'community': {'have': 46, 'want': 6},\n", " 'country': 'US',\n", " 'format': ['CD', 'Album', 'Remastered'],\n", " 'genre': ['Rock'],\n", " 'id': 1180927,\n", " 'label': ['Sony Music Special Products', 'Star-Club Hamburg', 'DADC'],\n", " 'resource_url': 'https://api.discogs.com/masters/1180927',\n", " 'style': ['Rock & Roll'],\n", " 'thumb': 'https://img.discogs.com/eStw6Cr2L3xHUD8Wwmw2n-nuu5k=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-1436372-1355136570-4485.jpeg.jpg',\n", " 'title': 'The Beatles - Live! At The Star-Club In Hamburg, Germany; 1962 (Vol. 1)',\n", " 'type': 'master',\n", " 'uri': '/The-Beatles-Live-At-The-Star-Club-In-Hamburg-Germany-1962-Vol-1/master/1180927',\n", " 'year': '1991'}" ] }, "execution_count": 130, "metadata": {}, "output_type": "execute_result" } ], "source": [ "beatles_albums[0]" ] }, { "cell_type": "code", "execution_count": 133, "metadata": { "scrolled": true }, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
idresource_urltitleyear
024047https://api.discogs.com/masters/24047Abbey Road1969
11060866https://api.discogs.com/masters/1060866Live! At The Star Club, Hamburg, Germany 1962 ...1985
245895https://api.discogs.com/masters/45895Help!1965
345362https://api.discogs.com/masters/45362Please Please Me1963
454585https://api.discogs.com/masters/54585Rock 'N' Roll Music1976
524003https://api.discogs.com/masters/24003A Hard Day's Night1964
645729https://api.discogs.com/masters/45729With The Beatles1963
7347141https://api.discogs.com/masters/347141Sgt. Pepper's Lonely Hearts Club Band1967
854829https://api.discogs.com/masters/54829The Beatles At The Hollywood Bowl1977
945799https://api.discogs.com/masters/45799Beatles For Sale1964
1023934https://api.discogs.com/masters/23934Sgt. Pepper's Lonely Hearts Club Band1967
1131249https://api.discogs.com/masters/31249A Collection Of Beatles Oldies1966
1245526https://api.discogs.com/masters/45526Rubber Soul1965
1323881https://api.discogs.com/masters/238811962-19661973
14347141https://api.discogs.com/masters/347141Sgt. Pepper's Lonely Hearts Club Band1967
1554829https://api.discogs.com/masters/54829The Beatles At The Hollywood Bowl1977
1645799https://api.discogs.com/masters/45799Beatles For Sale1964
1723934https://api.discogs.com/masters/23934Sgt. Pepper's Lonely Hearts Club Band1967
1824212https://api.discogs.com/masters/24212Let It Be1970
1946402https://api.discogs.com/masters/46402The Beatles1968
\n", "
" ], "text/plain": [ " id resource_url \\\n", "0 24047 https://api.discogs.com/masters/24047 \n", "1 1060866 https://api.discogs.com/masters/1060866 \n", "2 45895 https://api.discogs.com/masters/45895 \n", "3 45362 https://api.discogs.com/masters/45362 \n", "4 54585 https://api.discogs.com/masters/54585 \n", "5 24003 https://api.discogs.com/masters/24003 \n", "6 45729 https://api.discogs.com/masters/45729 \n", "7 347141 https://api.discogs.com/masters/347141 \n", "8 54829 https://api.discogs.com/masters/54829 \n", "9 45799 https://api.discogs.com/masters/45799 \n", "10 23934 https://api.discogs.com/masters/23934 \n", "11 31249 https://api.discogs.com/masters/31249 \n", "12 45526 https://api.discogs.com/masters/45526 \n", "13 23881 https://api.discogs.com/masters/23881 \n", "14 347141 https://api.discogs.com/masters/347141 \n", "15 54829 https://api.discogs.com/masters/54829 \n", "16 45799 https://api.discogs.com/masters/45799 \n", "17 23934 https://api.discogs.com/masters/23934 \n", "18 24212 https://api.discogs.com/masters/24212 \n", "19 46402 https://api.discogs.com/masters/46402 \n", "\n", " title year \n", "0 Abbey Road 1969 \n", "1 Live! At The Star Club, Hamburg, Germany 1962 ... 1985 \n", "2 Help! 1965 \n", "3 Please Please Me 1963 \n", "4 Rock 'N' Roll Music 1976 \n", "5 A Hard Day's Night 1964 \n", "6 With The Beatles 1963 \n", "7 Sgt. Pepper's Lonely Hearts Club Band 1967 \n", "8 The Beatles At The Hollywood Bowl 1977 \n", "9 Beatles For Sale 1964 \n", "10 Sgt. Pepper's Lonely Hearts Club Band 1967 \n", "11 A Collection Of Beatles Oldies 1966 \n", "12 Rubber Soul 1965 \n", "13 1962-1966 1973 \n", "14 Sgt. Pepper's Lonely Hearts Club Band 1967 \n", "15 The Beatles At The Hollywood Bowl 1977 \n", "16 Beatles For Sale 1964 \n", "17 Sgt. Pepper's Lonely Hearts Club Band 1967 \n", "18 Let It Be 1970 \n", "19 The Beatles 1968 " ] }, "execution_count": 133, "metadata": {}, "output_type": "execute_result" } ], "source": [ "beatles_df = pd.DataFrame([{'id': a['id'], 'year': a.get('year'), \n", " 'title': a['title'][14:],\n", " 'resource_url': a['resource_url']}\n", " for a in beatles_albums\n", " if 'year' in a\n", " if a['country'] == 'UK'\n", " if a['title'].startswith('The Beatles - ')\n", " if a['type'] == 'master'])\n", "beatles_df" ] }, { "cell_type": "code", "execution_count": 134, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "[(\"Sgt. Pepper's Lonely Hearts Club Band\", 4),\n", " ('The Beatles At The Hollywood Bowl', 2),\n", " ('Beatles For Sale', 2),\n", " ('1962-1966', 1),\n", " (\"Rock 'N' Roll Music\", 1)]" ] }, "execution_count": 134, "metadata": {}, "output_type": "execute_result" } ], "source": [ "collections.Counter(beatles_df['title']).most_common(5)" ] }, { "cell_type": "code", "execution_count": 135, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "dict_keys(['year', 'images', 'videos', 'artists', 'num_for_sale', 'uri', 'title', 'resource_url', 'genres', 'versions_url', 'id', 'main_release_url', 'main_release', 'tracklist', 'data_quality', 'lowest_price', 'notes', 'styles'])" ] }, "execution_count": 135, "metadata": {}, "output_type": "execute_result" } ], "source": [ "abbey_road = get_by_url('https://api.discogs.com/masters/24047')\n", "abbey_road.keys()" ] }, { "cell_type": "code", "execution_count": 136, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "[('Come Together', 'A1'),\n", " ('Something', 'A2'),\n", " (\"Maxwell's Silver Hammer\", 'A3'),\n", " ('Oh! Darling', 'A4'),\n", " (\"Octopus's Garden\", 'A5'),\n", " (\"I Want You (She's So Heavy)\", 'A6'),\n", " ('Here Comes The Sun', 'B1'),\n", " ('Because', 'B2'),\n", " ('You Never Give Me Your Money', 'B3'),\n", " ('Sun King', 'B4'),\n", " ('Mean Mr. Mustard', 'B5'),\n", " ('Polythene Pam', 'B6'),\n", " ('She Came In Through The Bathroom Window', 'B7'),\n", " ('Golden Slumbers', 'B8'),\n", " ('Carry That Weight', 'B9'),\n", " ('The End', 'B10'),\n", " ('Her Majesty', 'B11')]" ] }, "execution_count": 136, "metadata": {}, "output_type": "execute_result" } ], "source": [ "[(t['title'], t['position']) for t in abbey_road['tracklist']]" ] }, { "cell_type": "code", "execution_count": 137, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'https://api.discogs.com/releases/2498807'" ] }, "execution_count": 137, "metadata": {}, "output_type": "execute_result" } ], "source": [ "abbey_road['main_release_url']" ] }, { "cell_type": "code", "execution_count": 139, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Retrieved page 1 of 2 ; 59 requests before rate limit\n", "Retrieved page 2 of 2 ; 58 requests before rate limit\n" ] }, { "data": { "text/plain": [ "[{'barcode': [],\n", " 'catno': '3C 006 04266',\n", " 'community': {'have': 10, 'want': 24},\n", " 'country': 'Italy',\n", " 'format': ['Vinyl', '7\"', 'Reissue'],\n", " 'genre': ['Rock', 'Pop'],\n", " 'id': 1833079,\n", " 'label': ['Apple Records', 'The Greatest Story'],\n", " 'resource_url': 'https://api.discogs.com/releases/1833079',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/9CQznpENauUYZkwi4dp9-ZG2oR4=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-1833079-1475199701-3047.jpeg.jpg',\n", " 'title': 'The Beatles - Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Come-Together/release/1833079',\n", " 'year': '1976'},\n", " {'barcode': [],\n", " 'catno': '8E 006 40 031 M',\n", " 'community': {'have': 22, 'want': 28},\n", " 'country': 'Portugal',\n", " 'format': ['Vinyl', '7\"', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 2753401,\n", " 'label': ['Parlophone'],\n", " 'resource_url': 'https://api.discogs.com/releases/2753401',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/ilMWcd904UBQ6GRnFYkh6d7dJfs=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-2753401-1299504446.jpeg.jpg',\n", " 'title': 'The Beatles - Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Come-Together/release/2753401',\n", " 'year': '1969'},\n", " {'barcode': [],\n", " 'catno': 'TPC 1027',\n", " 'community': {'have': 0, 'want': 5},\n", " 'country': 'Malaysia',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'EP', 'Unofficial Release'],\n", " 'genre': ['Rock'],\n", " 'id': 7424794,\n", " 'label': ['Gloria Record'],\n", " 'resource_url': 'https://api.discogs.com/releases/7424794',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/sARQ1ACdptpkekSccgShXDyUtdo=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-7424794-1441869267-5122.jpeg.jpg',\n", " 'title': 'The Beatles - Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Come-Together/release/7424794'},\n", " {'barcode': ['04266 M/A',\n", " '04266 M/B',\n", " '04266-M-A - 6-10-69 - I',\n", " '04266-M-B - 6-10-69 - I',\n", " 'BIEM'],\n", " 'catno': '3C 006-04266 M',\n", " 'community': {'have': 0, 'want': 0},\n", " 'country': 'Italy',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single', 'Mono'],\n", " 'genre': ['Rock'],\n", " 'id': 81020,\n", " 'label': ['Apple Records', 'Apple Records', 'EMI Italiana S.p.A.', 'AGC'],\n", " 'resource_url': 'https://api.discogs.com/masters/81020',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/qN-sPL0aIBdE9dJW3WlXNsbOuJ4=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-671652-1145917403.jpeg.jpg',\n", " 'title': 'The Beatles - Come Together / Something',\n", " 'type': 'master',\n", " 'uri': '/The-Beatles-Come-Together-Something/master/81020',\n", " 'year': '1969'},\n", " {'barcode': ['7YCE.21369', '7YCE.21370', '7YCE 21369-1U', '7YCE 21370-1U'],\n", " 'catno': 'R 5814',\n", " 'community': {'have': 3970, 'want': 1789},\n", " 'country': 'UK',\n", " 'format': ['Vinyl', '7\"', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 54558,\n", " 'label': ['Apple Records', 'Northern Songs', 'Harrisongs'],\n", " 'resource_url': 'https://api.discogs.com/masters/54558',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/lNA75bhNCWcBY42-g-Mf0zoAYPs=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-513427-1278590203.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'master',\n", " 'uri': '/The-Beatles-Something-Come-Together/master/54558',\n", " 'year': '1969'},\n", " {'barcode': ['6565-1', '6565-2'],\n", " 'catno': '6565',\n", " 'community': {'have': 0, 'want': 0},\n", " 'country': 'Mexico',\n", " 'format': ['Vinyl', '7\"', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 461915,\n", " 'label': ['Apple Records', 'Discos Capitol De Mexico, S.A. De C.V.'],\n", " 'resource_url': 'https://api.discogs.com/masters/461915',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/yczHGdDMK7orY2hRzAJnwCyOfP0=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-3685393-1340321730-1833.jpeg.jpg',\n", " 'title': 'The Beatles - Come Together / Something',\n", " 'type': 'master',\n", " 'uri': '/Beatles-Come-Together-Something/master/461915',\n", " 'year': '1969'},\n", " {'barcode': ['7XCE.21369',\n", " '7XCE.21370',\n", " '7XCE 21369-IUTI R',\n", " '7XCE 21370-IUTI G'],\n", " 'catno': 'R.5814',\n", " 'community': {'have': 0, 'want': 7},\n", " 'country': 'India',\n", " 'format': ['Vinyl', '7\"', 'Mono'],\n", " 'genre': ['Rock'],\n", " 'id': 9344892,\n", " 'label': ['Apple Records', 'Harrisongs', 'Northern Songs'],\n", " 'resource_url': 'https://api.discogs.com/releases/9344892',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/iL0Z5OTqAa6eb06CRkxuWSOHGmQ=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-9344892-1478971413-6215.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/9344892',\n", " 'year': '1969'},\n", " {'barcode': ['BMI',\n", " 'S-X46992',\n", " 'S-X46991',\n", " '45-X-46992-2654-F7 #3',\n", " '1-2654 S45-X46991-H12 #1'],\n", " 'catno': '2654',\n", " 'community': {'have': 45, 'want': 23},\n", " 'country': 'US',\n", " 'format': ['Vinyl', '7\"', 'Single', 'Reissue'],\n", " 'genre': ['Rock'],\n", " 'id': 3166676,\n", " 'label': ['Capitol Records',\n", " 'Capitol Records, Inc.',\n", " 'Harrisongs Music, Inc.',\n", " 'Maclen Music, Inc.',\n", " 'Capitol Records Pressing Plant, Winchester'],\n", " 'resource_url': 'https://api.discogs.com/releases/3166676',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/gCI1HAxfRjTA399J4mkPZ6yGlA4=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-3166676-1353941388-4183.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/3166676',\n", " 'year': '1983'},\n", " {'barcode': ['S45-X46992',\n", " 'S45-X46991',\n", " 'S45-X46992-H12',\n", " 'S45-X46991-H12',\n", " 'S-45-46992-F-1·',\n", " '2 S-45-46991-F-2:',\n", " '1 ✲',\n", " 'BMI'],\n", " 'catno': '2654',\n", " 'community': {'have': 84, 'want': 26},\n", " 'country': 'US',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single', 'Stereo', 'Reissue'],\n", " 'genre': ['Rock'],\n", " 'id': 3308866,\n", " 'label': ['Apple Records',\n", " 'Apple Records, Inc.',\n", " 'Harrisongs Music, Inc.',\n", " 'Maclen Music, Inc.',\n", " 'Capitol Records Pressing Plant, Los Angeles'],\n", " 'resource_url': 'https://api.discogs.com/releases/3308866',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/XCeV9D50Pou1lFeoBffQsPwPvwc=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-3308866-1325111676.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/3308866',\n", " 'year': '1971'},\n", " {'barcode': ['GEMA', 'Keep a/c', '1C006-04266-A-1B', '1C006-04266-B-2-A'],\n", " 'catno': '1C 006-04 266',\n", " 'community': {'have': 318, 'want': 49},\n", " 'country': 'Germany',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single', 'Stereo'],\n", " 'genre': ['Rock'],\n", " 'id': 937304,\n", " 'label': ['Apple Records'],\n", " 'resource_url': 'https://api.discogs.com/releases/937304',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/Qz0ZkoOAVh6HrLZ2DdvG68NZPSk=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-937304-1335476429.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/937304',\n", " 'year': '1969'},\n", " {'barcode': ['7YCE 21369', '7YCE 21370', '7YCE 21369-1U', '7YCE 21370-1U'],\n", " 'catno': 'R 5814',\n", " 'community': {'have': 32, 'want': 18},\n", " 'country': 'Sweden',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 6536525,\n", " 'label': ['Apple Records', 'Northern Songs', 'Harrisongs'],\n", " 'resource_url': 'https://api.discogs.com/releases/6536525',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/1HnVptaeNuGLtdTOfe3zO-gAzQk=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-6536525-1421503838-9534.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/6536525',\n", " 'year': '1969'},\n", " {'barcode': [],\n", " 'catno': '7-BT-26',\n", " 'community': {'have': 1, 'want': 3},\n", " 'country': 'Peru',\n", " 'format': ['Vinyl', '7\"', 'Single', 'Unofficial Release'],\n", " 'genre': ['Rock', 'Pop'],\n", " 'id': 10892932,\n", " 'label': ['Apple Records', 'Harrisongs', 'Northern Songs'],\n", " 'resource_url': 'https://api.discogs.com/releases/10892932',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/pkunAAVivwc7f5c6vC08E4yTsjU=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-10892932-1506075799-1161.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/10892932',\n", " 'year': '1969'},\n", " {'barcode': ['(7YCE.21369)',\n", " '(7YCE.21370)',\n", " '7YCE 21369-1U 6 KT 1 5',\n", " '7YCE 21370-1U. 2 1 KT 1 2'],\n", " 'catno': 'R 5814',\n", " 'community': {'have': 1, 'want': 6},\n", " 'country': 'UK',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single', 'Reissue'],\n", " 'genre': ['Rock'],\n", " 'id': 10659221,\n", " 'label': ['Apple Records', 'Northern Songs', 'Harrisongs'],\n", " 'resource_url': 'https://api.discogs.com/releases/10659221',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/Re6f0e9GMzOtyXKVHS6lPYgWvkM=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-10659221-1501863886-2894.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/10659221'},\n", " {'barcode': ['NCB', '7XCE 21369', '7XCE 21370'],\n", " 'catno': 'R 5814',\n", " 'community': {'have': 4, 'want': 13},\n", " 'country': 'Sweden',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 6464325,\n", " 'label': ['Apple Records', 'Northern Songs', 'Harrisongs'],\n", " 'resource_url': 'https://api.discogs.com/releases/6464325',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/Szs2-QF7LERJbIiW8NvfETRtAbo=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-6464325-1419883401-9712.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/6464325'},\n", " {'barcode': [],\n", " 'catno': '2654',\n", " 'community': {'have': 41, 'want': 18},\n", " 'country': 'Canada',\n", " 'format': ['Vinyl', '7\"', 'Single', 'Stereo'],\n", " 'genre': ['Rock', 'Pop'],\n", " 'id': 6941304,\n", " 'label': ['Apple Records'],\n", " 'resource_url': 'https://api.discogs.com/releases/6941304',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/ithuKvTShojwz6F3P8t_VTI_r0Q=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-6941304-1430019067-7167.png.jpg',\n", " 'title': 'The Beatles - Come Together / Something',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Come-Together-Something/release/6941304',\n", " 'year': '1969'},\n", " {'barcode': ['7XAPA1795', '7XAPA1796'],\n", " 'catno': 'A.8943',\n", " 'community': {'have': 3, 'want': 9},\n", " 'country': 'Australia',\n", " 'format': ['Vinyl', '7\"', 'Single', 'Reissue'],\n", " 'genre': ['Rock', 'Pop'],\n", " 'id': 8453243,\n", " 'label': ['Parlophone',\n", " 'Northern Songs',\n", " 'Apple Publishing',\n", " 'EMI Records Australia',\n", " 'EMI Group Of Companies'],\n", " 'resource_url': 'https://api.discogs.com/releases/8453243',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/_IibydmIARrlv9vl0Y2AlYRpLrc=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-8453243-1461920032-3207.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/8453243',\n", " 'year': '1982'},\n", " {'barcode': ['BIEM'],\n", " 'catno': 'QMSP 16461',\n", " 'community': {'have': 24, 'want': 21},\n", " 'country': 'Italy',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Jukebox'],\n", " 'genre': ['Rock', 'Pop'],\n", " 'id': 4612854,\n", " 'label': ['Apple Records'],\n", " 'resource_url': 'https://api.discogs.com/releases/4612854',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/m3j7wcYSix3mvqk1uD5S8cv93YE=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-4612854-1390855191-9936.jpeg.jpg',\n", " 'title': 'The Beatles - Come Together / Something',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Come-Together-Something/release/4612854',\n", " 'year': '1969'},\n", " {'barcode': [],\n", " 'catno': 'R(I)5814',\n", " 'community': {'have': 3, 'want': 23},\n", " 'country': 'Ireland',\n", " 'format': ['Vinyl', '7\"', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 4739830,\n", " 'label': ['Apple Records', 'Northern Songs', 'Harrisongs'],\n", " 'resource_url': 'https://api.discogs.com/releases/4739830',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/g7xbIQUx8gOUsD0-OQxvA3fQvCY=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-4739830-1374154476-3662.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/4739830',\n", " 'year': '1969'},\n", " {'barcode': [],\n", " 'catno': 'C3-44314-2',\n", " 'community': {'have': 9, 'want': 13},\n", " 'country': 'US',\n", " 'format': ['CD', 'Mini', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 3738255,\n", " 'label': ['Capitol Records'],\n", " 'resource_url': 'https://api.discogs.com/releases/3738255',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/v2Yxzeqi5Hwq-kbM_VZBakCSbZs=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-3738255-1342379856-7899.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/3738255',\n", " 'year': '1989'},\n", " {'barcode': ['5099920312220'],\n", " 'catno': 'R 5814',\n", " 'community': {'have': 29, 'want': 31},\n", " 'country': 'UK',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single', 'Limited Edition', 'Reissue'],\n", " 'genre': ['Rock', 'Pop'],\n", " 'id': 4130528,\n", " 'label': ['Parlophone', 'Apple Records'],\n", " 'resource_url': 'https://api.discogs.com/releases/4130528',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/P97fXxn7z1DdrqjKaRkeU5SivaE=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-4130528-1356296523-2502.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/4130528',\n", " 'year': '1989'},\n", " {'barcode': ['07777443146'],\n", " 'catno': '4KM-44314',\n", " 'community': {'have': 3, 'want': 4},\n", " 'country': 'US',\n", " 'format': ['Cassette', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 9105490,\n", " 'label': ['Capitol Records',\n", " 'Apple Records',\n", " 'Capitol Records, Inc.',\n", " 'Apple Corps Ltd.',\n", " 'EMI Records Ltd.',\n", " 'EMI Records Ltd.'],\n", " 'resource_url': 'https://api.discogs.com/releases/9105490',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/8NbkQt7j2yBCE8PGWr7Kz8NmL-c=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-9105490-1474867955-4658.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/9105490',\n", " 'year': '1991'},\n", " {'barcode': ['GEMA'],\n", " 'catno': '1C 006-04 266',\n", " 'community': {'have': 4, 'want': 11},\n", " 'country': 'Germany',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single', 'Reissue', 'Stereo'],\n", " 'genre': ['Rock'],\n", " 'id': 8335115,\n", " 'label': ['Apple Records'],\n", " 'resource_url': 'https://api.discogs.com/releases/8335115',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/pzng5NM4ew5JYwuFHsKdM5xFo9Y=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-8335115-1459598649-2528.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/8335115'},\n", " {'barcode': ['006-04266-M A',\n", " '006-04266-M B',\n", " 'BIEM',\n", " 'B.39002-1969',\n", " 'Permiso 126'],\n", " 'catno': '1J 006-04.266M',\n", " 'community': {'have': 79, 'want': 41},\n", " 'country': 'Spain',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 809168,\n", " 'label': ['Odeon', 'Compañia Del Gramofono-Odeon, S.A.E.'],\n", " 'resource_url': 'https://api.discogs.com/releases/809168',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/SPwlVqHSW45cb3nKbpNMfv84Gy4=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-809168-1356275139-2479.jpeg.jpg',\n", " 'title': 'The Beatles - Come Together / Something',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Come-Together-Something/release/809168',\n", " 'year': '1969'},\n", " {'barcode': ['5099920312206', '5 099920 312206'],\n", " 'catno': 'RP 5814',\n", " 'community': {'have': 107, 'want': 53},\n", " 'country': 'UK',\n", " 'format': ['Vinyl',\n", " '7\"',\n", " 'Single',\n", " '45 RPM',\n", " 'Picture Disc',\n", " 'Reissue',\n", " 'Limited Edition'],\n", " 'genre': ['Rock', 'Pop'],\n", " 'id': 2472304,\n", " 'label': ['Parlophone', '20th Anniversary Picture Discs'],\n", " 'resource_url': 'https://api.discogs.com/releases/2472304',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/HIPDtR3zwuCg1oxA-bs5uXRrsts=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-2472304-1356296273-5541.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/2472304',\n", " 'year': '1989'},\n", " {'barcode': ['7YCE.21369',\n", " '7YCE.21370',\n", " '7YCE 21369 - 1U MG 1',\n", " '7YCE 21370 - 1U OA 8',\n", " '7YCE 21369 - 1U TT KT',\n", " '7YCE 21370 - 1U GGG KT 4'],\n", " 'catno': 'R 5814',\n", " 'community': {'have': 133, 'want': 40},\n", " 'country': 'UK',\n", " 'format': ['Vinyl', '7\"', 'Single', '45 RPM'],\n", " 'genre': ['Rock'],\n", " 'id': 4593758,\n", " 'label': ['Apple Records', 'Northern Songs', 'Harrisongs'],\n", " 'resource_url': 'https://api.discogs.com/releases/4593758',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/J6kH3NFBQb9v-6zHx_IEkfgoKDE=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-4593758-1369406378-8805.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/4593758',\n", " 'year': '1969'},\n", " {'barcode': ['0 7777-15916-2 4',\n", " 'W.O. 27685-1 C215916 11-92 DISC MFG, INC (H)',\n", " 'IFPI 2F40',\n", " 'BMI'],\n", " 'catno': 'C2 0777 7 15916 2 4',\n", " 'community': {'have': 1, 'want': 13},\n", " 'country': 'US',\n", " 'format': ['CD', 'Single', 'Reissue'],\n", " 'genre': ['Rock'],\n", " 'id': 5184065,\n", " 'label': ['Capitol Records',\n", " 'Parlophone',\n", " 'Apple Records',\n", " 'EMI Records Ltd.',\n", " 'Apple Corps Ltd.',\n", " 'Capitol Records, Inc.',\n", " 'Harrisongs Ltd.',\n", " 'Music Corporation Of America, Inc.',\n", " 'Disc Manufacturing, Inc., Huntsville'],\n", " 'resource_url': 'https://api.discogs.com/releases/5184065',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/dIovLVwZoTWgBPKxSRPUDjqo5gY=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-5184065-1386822236-2517.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/5184065',\n", " 'year': '1994'},\n", " {'barcode': ['7XGO 192', '7XGO 193'],\n", " 'catno': 'GMSP 146',\n", " 'community': {'have': 0, 'want': 19},\n", " 'country': 'Greece',\n", " 'format': ['Vinyl', '7\"', 'Single', 'Mispress', 'White Label'],\n", " 'genre': ['Rock'],\n", " 'id': 5314564,\n", " 'label': ['Parlophone'],\n", " 'resource_url': 'https://api.discogs.com/releases/5314564',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/ZAEqsA3KDSZS2zLNpaIr5wQGZ0c=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-5314564-1390324259-7174.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/5314564',\n", " 'year': '1969'},\n", " {'barcode': ['S45-X46992 Xb No2',\n", " 'S45-X46992',\n", " 'S45-X46991 W5 No3',\n", " 'S45-X46991',\n", " 'BMI'],\n", " 'catno': '2654',\n", " 'community': {'have': 64, 'want': 21},\n", " 'country': 'Canada',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single', 'Stereo'],\n", " 'genre': ['Rock'],\n", " 'id': 4625704,\n", " 'label': ['Apple Records',\n", " 'Apple Records, Inc.',\n", " 'Harrisongs Music, Inc.',\n", " 'Maclen Music, Inc.'],\n", " 'resource_url': 'https://api.discogs.com/releases/4625704',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/rQUG-PK3iuRV4T0wu0a2W-RNvT8=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-4625704-1370357407-4659.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/4625704',\n", " 'year': '1969'},\n", " {'barcode': ['BMI',\n", " 'S45-X46992',\n", " 'S45-X46991',\n", " '45-X-46992-2654-F7',\n", " '45-X46991-2654-F7'],\n", " 'catno': '2654',\n", " 'community': {'have': 69, 'want': 23},\n", " 'country': 'US',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 4762706,\n", " 'label': ['Apple Records',\n", " 'Apple Records, Inc.',\n", " 'Capitol Records, Inc.',\n", " 'Harrisongs Music, Inc.',\n", " 'Maclen Music, Inc.'],\n", " 'resource_url': 'https://api.discogs.com/releases/4762706',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/r2Tcd0ujlJBLDN8Clin6XFRMdo4=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-4762706-1389375685-2875.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/4762706',\n", " 'year': '1969'},\n", " {'barcode': ['5 099920 312237',\n", " '5099920312237',\n", " '20 3122 3',\n", " 'BIEM / MCPS',\n", " 'LC 0299',\n", " '2031223-12 A3'],\n", " 'catno': 'CD3R 5814',\n", " 'community': {'have': 26, 'want': 16},\n", " 'country': 'UK',\n", " 'format': ['CD', 'Mini', 'Single', 'Reissue'],\n", " 'genre': ['Rock'],\n", " 'id': 3083042,\n", " 'label': ['Parlophone',\n", " 'EMI Records Ltd.',\n", " 'EMI Records Ltd.',\n", " 'DADC Austria'],\n", " 'resource_url': 'https://api.discogs.com/releases/3083042',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/Zf6eXzAfIcaExkTLxbF0MqCv-a8=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-3083042-1478213344-6880.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/3083042',\n", " 'year': '1989'},\n", " {'barcode': ['BMI', 'S45-X46992', 'S45-X46991'],\n", " 'catno': '2654',\n", " 'community': {'have': 81, 'want': 27},\n", " 'country': 'US',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single', 'Stereo'],\n", " 'genre': ['Rock'],\n", " 'id': 3149349,\n", " 'label': ['Apple Records',\n", " 'Apple Records, Inc.',\n", " 'Harrisongs Music, Inc.',\n", " 'Maclen Music, Inc.',\n", " 'Capitol Records Pressing Plant, Scranton'],\n", " 'resource_url': 'https://api.discogs.com/releases/3149349',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/zQpBTtI1tI5wjo0At8KlbL5oe-c=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-3149349-1356295805-2257.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/3149349',\n", " 'year': '1969'},\n", " {'barcode': ['2C 006-04266 M A',\n", " '2C 006-04266 M B',\n", " '04266 M A 21 M3 268643',\n", " '04266 M B 21 M3 268644',\n", " 'Ⓛ',\n", " 'B.I.E.M.'],\n", " 'catno': '2C 006-04266 M',\n", " 'community': {'have': 381, 'want': 37},\n", " 'country': 'France',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 987359,\n", " 'label': ['Apple Records',\n", " 'Les Industries Musicales Et Electriques Pathé Marconi',\n", " 'EMI',\n", " 'Pathé Marconi',\n", " 'I.D.N.',\n", " 'Pathé Marconi, Chatou',\n", " 'Pathé Marconi, Chatou'],\n", " 'resource_url': 'https://api.discogs.com/releases/987359',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/1wrJOJX6ls3oGPmPrK8Hz2n0w7Q=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-987359-1236812655.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/987359',\n", " 'year': '1969'},\n", " {'barcode': ['7XCE 21369', '7XCE 21370'],\n", " 'catno': '45-87862',\n", " 'community': {'have': 0, 'want': 8},\n", " 'country': 'Ecuador',\n", " 'format': ['Vinyl', '7\"', '45 RPM'],\n", " 'genre': ['Rock'],\n", " 'id': 9015576,\n", " 'label': ['Odeon'],\n", " 'resource_url': 'https://api.discogs.com/releases/9015576',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/ft6xdYuzE1-o4pS4iE7w_YGKHek=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-9015576-1473308209-8630.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/9015576',\n", " 'year': '1970'},\n", " {'barcode': ['7YCE 21369-1U', '7YCE 21370-1U'],\n", " 'catno': 'R 5814',\n", " 'community': {'have': 0, 'want': 16},\n", " 'country': 'Israel',\n", " 'format': ['Vinyl', '7\"', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 6616463,\n", " 'label': ['Apple Records', 'Northern Songs', 'Harrisongs'],\n", " 'resource_url': 'https://api.discogs.com/releases/6616463',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/Y8jhdsURT82NH44RTkvBUJA2Law=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-6616463-1505318515-5808.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/6616463'},\n", " {'barcode': ['7XPEA 347', '7XPEA 348'],\n", " 'catno': 'SPD 520',\n", " 'community': {'have': 5, 'want': 14},\n", " 'country': 'South Africa',\n", " 'format': ['Vinyl', '7\"', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 7005657,\n", " 'label': ['Parlophone', 'Northern Songs', 'Harrisongs'],\n", " 'resource_url': 'https://api.discogs.com/releases/7005657',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/iseY-fNJaYWNJfH57FsAhAx66TA=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-7005657-1494423335-7003.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/7005657',\n", " 'year': '1969'},\n", " {'barcode': ['YEX 749-1', 'YEX 749-2'],\n", " 'catno': '45 LA 4313',\n", " 'community': {'have': 5, 'want': 18},\n", " 'country': 'Turkey',\n", " 'format': ['Vinyl', '7\"', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 7149366,\n", " 'label': ['Apple Records', 'Northern Songs', 'Harrisongs'],\n", " 'resource_url': 'https://api.discogs.com/releases/7149366',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/Gq1BXTD_HoKx1fEWQjGuez7_FTY=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-7149366-1434827323-8155.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/7149366',\n", " 'year': '1969'},\n", " {'barcode': ['5-Y5-2654 #46992 G-15', '2-2654 545-X46997 H12'],\n", " 'catno': '2654',\n", " 'community': {'have': 13, 'want': 15},\n", " 'country': 'US',\n", " 'format': ['Vinyl', '7\"', 'Single', 'Reissue'],\n", " 'genre': ['Rock'],\n", " 'id': 7585287,\n", " 'label': ['Capitol Records'],\n", " 'resource_url': 'https://api.discogs.com/releases/7585287',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/zCaI7_-06o3qtMDgQ85yP6PU44o=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-7585287-1444574538-8820.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/7585287',\n", " 'year': '1988'},\n", " {'barcode': ['5099920312244'],\n", " 'catno': 'TCR 5814',\n", " 'community': {'have': 2, 'want': 4},\n", " 'country': 'UK',\n", " 'format': ['Cassette', 'Single'],\n", " 'genre': ['Pop'],\n", " 'id': 10012871,\n", " 'label': ['Apple Records', 'Parlophone'],\n", " 'resource_url': 'https://api.discogs.com/releases/10012871',\n", " 'style': ['Vocal'],\n", " 'thumb': 'https://img.discogs.com/CUVMUKJSGWFduAT-qz4i_auivtI=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-10012871-1490127422-3351.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/10012871',\n", " 'year': '1991'},\n", " {'barcode': [],\n", " 'catno': '1 J 006-04.266',\n", " 'community': {'have': 10, 'want': 16},\n", " 'country': 'Spain',\n", " 'format': ['Vinyl', '7\"', 'Single', 'Numbered', 'Reissue'],\n", " 'genre': ['Rock'],\n", " 'id': 5270006,\n", " 'label': ['Odeon', 'The Singles Collection 1962/1970', 'EMI-Odeon, S.A.'],\n", " 'resource_url': 'https://api.discogs.com/releases/5270006',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/__l4LSuiwLIA1gu9pCxilW6N3t4=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-5270006-1389197340-8254.jpeg.jpg',\n", " 'title': 'The Beatles - Come Together / Something',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Come-Together-Something/release/5270006',\n", " 'year': '1976'},\n", " {'barcode': [],\n", " 'catno': '4213',\n", " 'community': {'have': 0, 'want': 7},\n", " 'country': 'Guatemala',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 10483130,\n", " 'label': ['Odeon',\n", " 'EMI Records Ltd.',\n", " 'Harrisongs',\n", " 'Northern Songs Ltd.',\n", " 'DIDECA, S.A.'],\n", " 'resource_url': 'https://api.discogs.com/releases/10483130',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/uCFodyfbf7EfbtcLPEt0cSUSUyY=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-10483130-1498381458-1284.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/10483130'},\n", " {'barcode': ['BIEM', '04266A//12.655-1.', '04266B//12.656-1.'],\n", " 'catno': '5C 006-04266 M',\n", " 'community': {'have': 132, 'want': 47},\n", " 'country': 'Netherlands',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 2071184,\n", " 'label': ['Apple Records', 'Apple Records', 'EE Heemstede', 'EMI'],\n", " 'resource_url': 'https://api.discogs.com/releases/2071184',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/pSsQFMXhw4eClbVNLtedmzlbuQ4=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-2071184-1306259928.jpeg.jpg',\n", " 'title': 'The Beatles - Come Together / Something',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Come-Together-Something/release/2071184',\n", " 'year': '1969'},\n", " {'barcode': ['7YCE 21369-1U: GLO KT 11', '7YCE 31270-1U: GPM 01'],\n", " 'catno': 'R 5814',\n", " 'community': {'have': 142, 'want': 31},\n", " 'country': 'UK',\n", " 'format': ['Vinyl', '7\"', 'Single', 'Reissue'],\n", " 'genre': ['Rock'],\n", " 'id': 2347251,\n", " 'label': ['Apple Records', 'The Singles Collection 1962-1970'],\n", " 'resource_url': 'https://api.discogs.com/releases/2347251',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/idPrHsp61TxS04S3Vtgm2kLQfJY=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-2347251-1278590529.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/2347251',\n", " 'year': '1976'},\n", " {'barcode': ['7xCE 21369', '7xCE 21370'],\n", " 'catno': 'R.5814',\n", " 'community': {'have': 2, 'want': 32},\n", " 'country': 'Kenya',\n", " 'format': ['Vinyl', '7\"', 'Single', '45 RPM'],\n", " 'genre': ['Rock'],\n", " 'id': 3747826,\n", " 'label': ['Parlophone', 'Northern Songs', 'Harrisongs'],\n", " 'resource_url': 'https://api.discogs.com/releases/3747826',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/rOPuFfgzYa164eGDtE0Elw8_A3E=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-3747826-1342741964-5981.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/3747826',\n", " 'year': '1969'},\n", " {'barcode': [],\n", " 'catno': 'OD-45-14',\n", " 'community': {'have': 0, 'want': 20},\n", " 'country': 'Venezuela',\n", " 'format': ['Vinyl', '7\"', 'Single', '45 RPM'],\n", " 'genre': ['Pop'],\n", " 'id': 3769307,\n", " 'label': ['Odeon', 'Odeon De Venezuela S.A.', 'Corporacion Los Ruices'],\n", " 'resource_url': 'https://api.discogs.com/releases/3769307',\n", " 'style': ['Ballad'],\n", " 'thumb': 'https://img.discogs.com/jGT10YwhkwfF4fhMKP-YJGxqVps=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-3769307-1343665353-7027.jpeg.jpg',\n", " 'title': 'The Beatles - Come Together / Something',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Come-Together-Something/release/3769307',\n", " 'year': '1970'},\n", " {'barcode': ['7YCE.21369', '7YCE.21370', '7YCE 21369-1U', '7YCE 21370-1U'],\n", " 'catno': 'R 5814',\n", " 'community': {'have': 323, 'want': 122},\n", " 'country': 'UK',\n", " 'format': ['Vinyl', '7\"', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 513427,\n", " 'label': ['Apple Records', 'Northern Songs', 'Harrisongs'],\n", " 'resource_url': 'https://api.discogs.com/releases/513427',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/lNA75bhNCWcBY42-g-Mf0zoAYPs=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-513427-1278590203.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/513427',\n", " 'year': '1969'},\n", " {'barcode': ['BMI',\n", " 'S45-X4699 2',\n", " 'S45-X4699 1',\n", " '46992',\n", " '46991',\n", " 'X46992: P26 IV',\n", " 'X46991: P26 IV'],\n", " 'catno': '2654',\n", " 'community': {'have': 663, 'want': 68},\n", " 'country': 'US',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single', 'Stereo'],\n", " 'genre': ['Rock'],\n", " 'id': 2184064,\n", " 'label': ['Apple Records',\n", " 'Apple Records, Inc.',\n", " 'Harrisongs Music, Inc.',\n", " 'Maclen Music, Inc.',\n", " 'Capitol Records Pressing Plant, Scranton'],\n", " 'resource_url': 'https://api.discogs.com/releases/2184064',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/AVC1DKKXySE4HYu884Ju8NHWC-k=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-2184064-1314839446.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/2184064',\n", " 'year': '1969'},\n", " {'barcode': ['S7-17698-A',\n", " 'S7-17698-B',\n", " 'S7-17698-A F-1 1-1 Wally MASTERED BY CAPITOL [stamped] SRC [stamped logo]',\n", " 'S7-17698-B F-1 1-1 SRC [stamped logo] Wally MASTERED BY CAPITOL [stamped]'],\n", " 'catno': 'S7-17698',\n", " 'community': {'have': 133, 'want': 54},\n", " 'country': 'US',\n", " 'format': ['Vinyl',\n", " '7\"',\n", " '45 RPM',\n", " 'Single',\n", " 'Jukebox',\n", " 'Reissue',\n", " 'Stereo'],\n", " 'genre': ['Rock'],\n", " 'id': 2254358,\n", " 'label': ['Capitol Records',\n", " 'CEMA Special Markets',\n", " 'Capitol Records, Inc.',\n", " 'Harrisongs Ltd.',\n", " 'Music Corporation Of America, Inc.',\n", " 'Capitol Mastering',\n", " 'Specialty Records Corporation'],\n", " 'resource_url': 'https://api.discogs.com/releases/2254358',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/DRxACnzGav0QLOaT0f1tESlFxHI=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-2254358-1375394299-3349.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/2254358',\n", " 'year': '1994'},\n", " {'barcode': ['STEMRA'],\n", " 'catno': 'R 5814',\n", " 'community': {'have': 14, 'want': 19},\n", " 'country': 'Netherlands',\n", " 'format': ['Vinyl', '7\"', 'Single', 'Reissue'],\n", " 'genre': ['Rock'],\n", " 'id': 4995168,\n", " 'label': ['Apple Records',\n", " 'The Singles Collection 1962-1970',\n", " 'EMI-Bovema Holland'],\n", " 'resource_url': 'https://api.discogs.com/releases/4995168',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/B9KhB7uLeTL_eesOhxAd3inneUA=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-4995168-1381648005-3875.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/4995168',\n", " 'year': '1976'},\n", " {'barcode': ['7XGO 10092', '7XGO 10093', 'BIEM'],\n", " 'catno': 'GMSP 146',\n", " 'community': {'have': 6, 'want': 19},\n", " 'country': 'Greece',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 5049715,\n", " 'label': ['Parlophone'],\n", " 'resource_url': 'https://api.discogs.com/releases/5049715',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/rAoYdpsLThdbMu31EfsFe9XVT7c=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-5049715-1411587742-8706.jpeg.jpg',\n", " 'title': 'The Beatles - Come Together / Something',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Come-Together-Something/release/5049715',\n", " 'year': '1969'},\n", " {'barcode': ['S45-X46992',\n", " 'S45-X46991',\n", " 'S45-X46992-F15 H',\n", " 'S45-X46991-F15 H',\n", " 'BMI'],\n", " 'catno': '2654',\n", " 'community': {'have': 62, 'want': 22},\n", " 'country': 'US',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single', 'Stereo'],\n", " 'genre': ['Rock'],\n", " 'id': 5119302,\n", " 'label': ['Apple Records',\n", " 'Apple Records, Inc.',\n", " 'Harrisongs Music, Inc.',\n", " 'Maclen Music, Inc.',\n", " 'Capitol Records Pressing Plant, Los Angeles'],\n", " 'resource_url': 'https://api.discogs.com/releases/5119302',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/EA5xu7VnJTB_CISTJtdali3eNYw=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-5119302-1385022632-9849.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/5119302',\n", " 'year': '1969'},\n", " {'barcode': [],\n", " 'catno': '4213',\n", " 'community': {'have': 0, 'want': 7},\n", " 'country': 'Guatemala',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 10483130,\n", " 'label': ['Odeon',\n", " 'EMI Records Ltd.',\n", " 'Harrisongs',\n", " 'Northern Songs Ltd.',\n", " 'DIDECA, S.A.'],\n", " 'resource_url': 'https://api.discogs.com/releases/10483130',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/uCFodyfbf7EfbtcLPEt0cSUSUyY=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-10483130-1498381458-1284.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/10483130'},\n", " {'barcode': ['BIEM', '04266A//12.655-1.', '04266B//12.656-1.'],\n", " 'catno': '5C 006-04266 M',\n", " 'community': {'have': 132, 'want': 47},\n", " 'country': 'Netherlands',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 2071184,\n", " 'label': ['Apple Records', 'Apple Records', 'EE Heemstede', 'EMI'],\n", " 'resource_url': 'https://api.discogs.com/releases/2071184',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/pSsQFMXhw4eClbVNLtedmzlbuQ4=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-2071184-1306259928.jpeg.jpg',\n", " 'title': 'The Beatles - Come Together / Something',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Come-Together-Something/release/2071184',\n", " 'year': '1969'},\n", " {'barcode': ['7YCE 21369-1U: GLO KT 11', '7YCE 31270-1U: GPM 01'],\n", " 'catno': 'R 5814',\n", " 'community': {'have': 142, 'want': 31},\n", " 'country': 'UK',\n", " 'format': ['Vinyl', '7\"', 'Single', 'Reissue'],\n", " 'genre': ['Rock'],\n", " 'id': 2347251,\n", " 'label': ['Apple Records', 'The Singles Collection 1962-1970'],\n", " 'resource_url': 'https://api.discogs.com/releases/2347251',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/idPrHsp61TxS04S3Vtgm2kLQfJY=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-2347251-1278590529.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/2347251',\n", " 'year': '1976'},\n", " {'barcode': ['7xCE 21369', '7xCE 21370'],\n", " 'catno': 'R.5814',\n", " 'community': {'have': 2, 'want': 32},\n", " 'country': 'Kenya',\n", " 'format': ['Vinyl', '7\"', 'Single', '45 RPM'],\n", " 'genre': ['Rock'],\n", " 'id': 3747826,\n", " 'label': ['Parlophone', 'Northern Songs', 'Harrisongs'],\n", " 'resource_url': 'https://api.discogs.com/releases/3747826',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/rOPuFfgzYa164eGDtE0Elw8_A3E=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-3747826-1342741964-5981.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/3747826',\n", " 'year': '1969'},\n", " {'barcode': [],\n", " 'catno': 'OD-45-14',\n", " 'community': {'have': 0, 'want': 20},\n", " 'country': 'Venezuela',\n", " 'format': ['Vinyl', '7\"', 'Single', '45 RPM'],\n", " 'genre': ['Pop'],\n", " 'id': 3769307,\n", " 'label': ['Odeon', 'Odeon De Venezuela S.A.', 'Corporacion Los Ruices'],\n", " 'resource_url': 'https://api.discogs.com/releases/3769307',\n", " 'style': ['Ballad'],\n", " 'thumb': 'https://img.discogs.com/jGT10YwhkwfF4fhMKP-YJGxqVps=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-3769307-1343665353-7027.jpeg.jpg',\n", " 'title': 'The Beatles - Come Together / Something',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Come-Together-Something/release/3769307',\n", " 'year': '1970'},\n", " {'barcode': ['7YCE.21369', '7YCE.21370', '7YCE 21369-1U', '7YCE 21370-1U'],\n", " 'catno': 'R 5814',\n", " 'community': {'have': 323, 'want': 122},\n", " 'country': 'UK',\n", " 'format': ['Vinyl', '7\"', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 513427,\n", " 'label': ['Apple Records', 'Northern Songs', 'Harrisongs'],\n", " 'resource_url': 'https://api.discogs.com/releases/513427',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/lNA75bhNCWcBY42-g-Mf0zoAYPs=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-513427-1278590203.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/513427',\n", " 'year': '1969'},\n", " {'barcode': [],\n", " 'catno': 'TBC1',\n", " 'community': {'have': 20, 'want': 30},\n", " 'country': 'UK',\n", " 'format': ['Vinyl',\n", " '12\"',\n", " 'Unofficial Release',\n", " 'White Label',\n", " 'Single Sided',\n", " '33 ⅓ RPM'],\n", " 'genre': ['Electronic'],\n", " 'id': 2719522,\n", " 'label': ['Not On Label (The Beatles)'],\n", " 'resource_url': 'https://api.discogs.com/releases/2719522',\n", " 'style': ['Breaks'],\n", " 'thumb': 'https://img.discogs.com/4IUhQbsNClqK5E6WXwMph-npyDc=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-2719522-1297971947.jpeg.jpg',\n", " 'title': 'The Beatles - Come Together Remixes',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Come-Together-Remixes/release/2719522',\n", " 'year': '2011'},\n", " {'barcode': ['0 4266 M A 21',\n", " '04266 MB 21',\n", " 'C006-04266MA',\n", " 'C006-04266MB',\n", " 'M3 268C43',\n", " 'M3 268644'],\n", " 'catno': 'R 5814',\n", " 'community': {'have': 3, 'want': 23},\n", " 'country': 'Lebanon',\n", " 'format': ['Vinyl', '7\"', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 5252231,\n", " 'label': ['Apple Records', 'Northern Songs', 'Harrisongs'],\n", " 'resource_url': 'https://api.discogs.com/releases/5252231',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/DxkrNyMMxaVFblLmZ9-yeHKhHR4=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-5252231-1388778819-7224.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/5252231',\n", " 'year': '1969'},\n", " {'barcode': ['S45-X46992',\n", " 'S45-X46991',\n", " 'S45-46992-X4',\n", " 'S45-46991-X4',\n", " 'BMI'],\n", " 'catno': '2654',\n", " 'community': {'have': 40, 'want': 24},\n", " 'country': 'US',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single', 'Stereo'],\n", " 'genre': ['Rock'],\n", " 'id': 5414577,\n", " 'label': ['Apple Records',\n", " 'Apple Records, Inc.',\n", " 'Harrisongs Music, Inc.',\n", " 'Maclen Music, Inc.'],\n", " 'resource_url': 'https://api.discogs.com/releases/5414577',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/ay77B-dkPXvV7yIlUs_uThn9iww=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-5414577-1411332085-9602.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/5414577',\n", " 'year': '1969'},\n", " {'barcode': ['7XCE 21369', '7XCE 21370'],\n", " 'catno': 'ND 7485',\n", " 'community': {'have': 35, 'want': 35},\n", " 'country': 'Norway',\n", " 'format': ['Vinyl', '7\"'],\n", " 'genre': ['Rock'],\n", " 'id': 2799173,\n", " 'label': ['Apple Records', 'EMI Norsk AS'],\n", " 'resource_url': 'https://api.discogs.com/releases/2799173',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/MP0YsEi6UTy8WMwnlebB4WfDyMk=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-2799173-1356275384-7359.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/2799173',\n", " 'year': '1969'},\n", " {'barcode': ['NCB'],\n", " 'catno': 'R 5814',\n", " 'community': {'have': 28, 'want': 28},\n", " 'country': 'Denmark',\n", " 'format': ['Vinyl', '7\"', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 3024283,\n", " 'label': ['Apple Records'],\n", " 'resource_url': 'https://api.discogs.com/releases/3024283',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/tMQUrbVzFv6Vt8G6NpFLxtEcaQ4=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-3024283-1356275586-2856.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something/release/3024283',\n", " 'year': '1969'},\n", " {'barcode': ['BMI',\n", " 'S-X46992',\n", " 'S-X46991',\n", " 'S45-X 46992-H12',\n", " 'S45-X46991-H12'],\n", " 'catno': '2654',\n", " 'community': {'have': 15, 'want': 9},\n", " 'country': 'US',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single', 'Reissue'],\n", " 'genre': ['Rock'],\n", " 'id': 8725659,\n", " 'label': ['Capitol Records', 'Harrisongs', 'Maclen Music, Inc.'],\n", " 'resource_url': 'https://api.discogs.com/releases/8725659',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/Vx_iK47AD0EFgaFh60-T4oqJOAc=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-8725659-1467430962-6558.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/8725659',\n", " 'year': '1978'},\n", " {'barcode': [],\n", " 'catno': 'NZP 3345',\n", " 'community': {'have': 13, 'want': 24},\n", " 'country': 'New Zealand',\n", " 'format': ['Vinyl', '7\"', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 1105669,\n", " 'label': ['Apple Records'],\n", " 'resource_url': 'https://api.discogs.com/releases/1105669',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/wqcqx9JKDbtsPBykNgHMH97lnUE=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-1105669-1356295582-8542.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/1105669',\n", " 'year': '1969'},\n", " {'barcode': [],\n", " 'catno': '2C 006 04266 M',\n", " 'community': {'have': 19, 'want': 20},\n", " 'country': 'France',\n", " 'format': ['Vinyl', '7\"', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 4143175,\n", " 'label': ['Apple Records'],\n", " 'resource_url': 'https://api.discogs.com/releases/4143175',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/z1rDz83flCu7_W0cxpJT5j8RNlU=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-4143175-1356746405-9321.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/4143175',\n", " 'year': '1974'},\n", " {'barcode': ['04266 M A 21',\n", " '04266 M B 21',\n", " '04266 M A 21 M3 268643',\n", " '04266 M B 21 M3 268644',\n", " 'B.I.E.M.'],\n", " 'catno': '2C 006-04266 M',\n", " 'community': {'have': 34, 'want': 12},\n", " 'country': 'France',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 9772915,\n", " 'label': ['Apple Records',\n", " 'Les Industries Musicales Et Electriques Pathé Marconi',\n", " 'EMI',\n", " 'Pathé Marconi'],\n", " 'resource_url': 'https://api.discogs.com/releases/9772915',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/IBdS9TCKdnADGktBecGFUpCBWqc=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-9772915-1486125195-4239.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/9772915',\n", " 'year': '1969'},\n", " {'barcode': ['BMI', 'S45-X46992', 'S45-X46991', 'X46992 F22', 'X 46991 X2'],\n", " 'catno': '2654',\n", " 'community': {'have': 38, 'want': 19},\n", " 'country': 'US',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single', 'Stereo'],\n", " 'genre': ['Rock'],\n", " 'id': 7502247,\n", " 'label': ['Apple Records',\n", " 'Apple Records, Inc.',\n", " 'Harrisongs Music, Inc.',\n", " 'Maclen Music, Inc.',\n", " 'Keystone Printed Specialties Co., Inc.'],\n", " 'resource_url': 'https://api.discogs.com/releases/7502247',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/qq3s0im-cIrduq9NZiBRbC41x6Y=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-7502247-1442797873-1978.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/7502247',\n", " 'year': '1969'},\n", " {'barcode': ['BMI', 'SX46992', 'SX46991'],\n", " 'catno': '2654',\n", " 'community': {'have': 37, 'want': 29},\n", " 'country': 'US',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single', 'Repress', 'Stereo'],\n", " 'genre': ['Rock', 'Pop'],\n", " 'id': 3188026,\n", " 'label': ['Capitol Records',\n", " 'Capitol Records, Inc.',\n", " 'Harrisongs Music, Inc.',\n", " 'Maclen Music, Inc.'],\n", " 'resource_url': 'https://api.discogs.com/releases/3188026',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/0ox0wuYsGCX_FDfl3jRwu8SFWn8=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-3188026-1411303205-1782.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/3188026',\n", " 'year': '1976'},\n", " {'barcode': ['6565-1', '6565-2'],\n", " 'catno': '6565',\n", " 'community': {'have': 10, 'want': 24},\n", " 'country': 'Mexico',\n", " 'format': ['Vinyl', '7\"', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 3685393,\n", " 'label': ['Apple Records', 'Discos Capitol De Mexico, S.A. De C.V.'],\n", " 'resource_url': 'https://api.discogs.com/releases/3685393',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/yczHGdDMK7orY2hRzAJnwCyOfP0=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-3685393-1340321730-1833.jpeg.jpg',\n", " 'title': 'The Beatles - Come Together / Something',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Come-Together-Something/release/3685393',\n", " 'year': '1969'},\n", " {'barcode': ['5099920312220'],\n", " 'catno': 'R 5814',\n", " 'community': {'have': 0, 'want': 3},\n", " 'country': 'UK',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single', 'Limited Edition', 'Reissue'],\n", " 'genre': ['Rock', 'Pop'],\n", " 'id': 10764558,\n", " 'label': ['Parlophone', 'Apple Records'],\n", " 'resource_url': 'https://api.discogs.com/releases/10764558',\n", " 'style': ['Pop Rock'],\n", " 'thumb': '',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/10764558',\n", " 'year': '1989'},\n", " {'barcode': ['7XGO 10092', '7XGO 10093', 'BIEM'],\n", " 'catno': 'GMSP 146',\n", " 'community': {'have': 0, 'want': 5},\n", " 'country': 'Greece',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single', 'Special Edition'],\n", " 'genre': ['Rock', 'Pop'],\n", " 'id': 10827696,\n", " 'label': ['Parlophone', 'The Parlophone Co. Ltd.'],\n", " 'resource_url': 'https://api.discogs.com/releases/10827696',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/8IliENxIrxQ3KuMCrpV__m09YtE=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-10827696-1504967607-8932.jpeg.jpg',\n", " 'title': 'The Beatles - Come Together / Something',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Come-Together-Something/release/10827696',\n", " 'year': '1969'},\n", " {'barcode': ['BMI', 'S45-X46992', 'S45-X46991'],\n", " 'catno': '2654',\n", " 'community': {'have': 39, 'want': 23},\n", " 'country': 'US',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single', 'Repress', 'Stereo'],\n", " 'genre': ['Rock', 'Pop'],\n", " 'id': 3175679,\n", " 'label': ['Apple Records',\n", " 'Apple Records, Inc.',\n", " 'Harrisongs Music, Inc.',\n", " 'Maclen Music, Inc.'],\n", " 'resource_url': 'https://api.discogs.com/releases/3175679',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/65OoploQgVAKcUgnAw0qC9LaJP0=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-3175679-1319262403.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Something-Come-Together/release/3175679',\n", " 'year': '1975'},\n", " {'barcode': [],\n", " 'catno': '7-BT-26',\n", " 'community': {'have': 21, 'want': 20},\n", " 'country': 'Brazil',\n", " 'format': ['Vinyl', '7\"', '33 ⅓ RPM', 'Single', 'Mono'],\n", " 'genre': ['Rock'],\n", " 'id': 4981906,\n", " 'label': ['Apple Records',\n", " 'Apple Records, Inc.',\n", " 'Harrisongs Music, Inc.',\n", " 'Maclen Music, Inc.'],\n", " 'resource_url': 'https://api.discogs.com/releases/4981906',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/ONvBz8fnXYW9ZIKnmvgWBaOSazg=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-4981906-1381270595-4388.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/4981906',\n", " 'year': '1969'},\n", " {'barcode': ['04266 M A 21',\n", " '04266 M B 21',\n", " '04266 M A 21 M3 268643',\n", " '04266 M B 21 M3 268644',\n", " 'B.I.E.M.'],\n", " 'catno': '2C 006-04266 M',\n", " 'community': {'have': 46, 'want': 14},\n", " 'country': 'France',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 8022875,\n", " 'label': ['Apple Records',\n", " 'Les Industries Musicales Et Electriques Pathé Marconi',\n", " 'EMI',\n", " 'Pathé Marconi',\n", " 'Pathé Marconi, Chatou',\n", " 'Pathé Marconi, Chatou'],\n", " 'resource_url': 'https://api.discogs.com/releases/8022875',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/fJxdbfIKsG7ID2l6O8yrvwv10VQ=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-8022875-1507749073-6156.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Something-Come-Together/release/8022875',\n", " 'year': '1969'},\n", " {'barcode': [],\n", " 'catno': '153',\n", " 'community': {'have': 0, 'want': 9},\n", " 'country': 'Venezuela',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 891653,\n", " 'label': ['Odeon', 'Odeon De Venezuela S.A.', 'Corporacion Los Ruices'],\n", " 'resource_url': 'https://api.discogs.com/masters/891653',\n", " 'style': [],\n", " 'thumb': 'https://img.discogs.com/wNmBZbNdv95RZHAmKpVy-lq0Pks=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-7492201-1442663243-7595.jpeg.jpg',\n", " 'title': 'The Beatles - Oh Darling / Juntense (Come Together)',\n", " 'type': 'master',\n", " 'uri': '/The-Beatles-Oh-Darling-Juntense-Come-Together/master/891653',\n", " 'year': '1971'},\n", " {'barcode': [],\n", " 'catno': '153',\n", " 'community': {'have': 0, 'want': 4},\n", " 'country': 'Venezuela',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 7492201,\n", " 'label': ['Odeon', 'Odeon De Venezuela S.A.', 'Corporacion Los Ruices'],\n", " 'resource_url': 'https://api.discogs.com/releases/7492201',\n", " 'style': [],\n", " 'thumb': 'https://img.discogs.com/wNmBZbNdv95RZHAmKpVy-lq0Pks=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-7492201-1442663243-7595.jpeg.jpg',\n", " 'title': 'The Beatles - Oh Darling / Juntense (Come Together)',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Oh-Darling-Juntense-Come-Together/release/7492201',\n", " 'year': '1971'},\n", " {'barcode': [],\n", " 'catno': 'none',\n", " 'community': {'have': 1, 'want': 1},\n", " 'country': 'Germany',\n", " 'format': ['File', 'MP3', 'Unofficial Release'],\n", " 'genre': ['Electronic'],\n", " 'id': 5014996,\n", " 'label': ['Not On Label (David August Self-released)'],\n", " 'resource_url': 'https://api.discogs.com/releases/5014996',\n", " 'style': ['Deep House'],\n", " 'thumb': 'https://img.discogs.com/30xBktffRzxCErJ2g3_6rbYOMm4=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-5014996-1382186015-4176.jpeg.jpg',\n", " 'title': 'The Beatles - Come Together (David August Reconstruction)',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Come-Together-David-August-Reconstruction/release/5014996',\n", " 'year': '2013'},\n", " {'barcode': [],\n", " 'catno': 'EX-4325',\n", " 'community': {'have': 7, 'want': 9},\n", " 'country': 'Iran',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'EP', 'Unofficial Release'],\n", " 'genre': ['Rock', 'Pop'],\n", " 'id': 1237007,\n", " 'label': ['Top 4', 'Ahang Rooz Manufacturing Co. Ltd.'],\n", " 'resource_url': 'https://api.discogs.com/masters/1237007',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/Ps5LGMmbjd6HkRxuHBbY3o97lSQ=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-10843838-1505222578-5905.jpeg.jpg',\n", " 'title': 'The Beatles / The Guess Who / Steam - Something / Come Together',\n", " 'type': 'master',\n", " 'uri': '/The-Beatles-The-Guess-Who-Steam-Something-Come-Together/master/1237007',\n", " 'year': '1969'},\n", " {'barcode': ['7YCE-21369-S', '7YCE-21370-S', 'JASRAC'],\n", " 'catno': 'EAR-20241',\n", " 'community': {'have': 11, 'want': 19},\n", " 'country': 'Japan',\n", " 'format': ['Vinyl', '7\"', 'Single', 'Reissue'],\n", " 'genre': ['Rock'],\n", " 'id': 5561022,\n", " 'label': ['Apple Records',\n", " '100 Years Of Recorded Sound 1877-1977',\n", " '結成15周年記念',\n", " 'Harrisongs',\n", " 'Northern Songs Ltd.',\n", " 'Toshiba EMI Ltd'],\n", " 'resource_url': 'https://api.discogs.com/releases/5561022',\n", " 'style': [],\n", " 'thumb': 'https://img.discogs.com/vYUaK0ptz2drmMEpgF1W58TD2sY=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-5561022-1396584102-9225.jpeg.jpg',\n", " 'title': 'The Beatles - サムシング (Something) / カム・トゥゲザー (Come Together)',\n", " 'type': 'release',\n", " 'uri': '/Beatles-%E3%82%B5%E3%83%A0%E3%82%B7%E3%83%B3%E3%82%B0-Something-%E3%82%AB%E3%83%A0%E3%83%88%E3%82%A5%E3%82%B2%E3%82%B6%E3%83%BC-Come-Together/release/5561022',\n", " 'year': '1977'},\n", " {'barcode': ['7YCE-21369-S', '7YCE-21370-S', 'JASRAC'],\n", " 'catno': 'EAR-20241',\n", " 'community': {'have': 0, 'want': 18},\n", " 'country': 'Japan',\n", " 'format': ['Vinyl', '7\"', 'Single', 'Reissue', 'Promo'],\n", " 'genre': ['Rock'],\n", " 'id': 5802898,\n", " 'label': ['Apple Records',\n", " '100 Years Of Recorded Sound 1877-1977',\n", " '結成15周年記念',\n", " 'Harrisongs',\n", " 'Northern Songs Ltd.',\n", " 'Toshiba EMI Ltd'],\n", " 'resource_url': 'https://api.discogs.com/releases/5802898',\n", " 'style': [],\n", " 'thumb': 'https://img.discogs.com/RW5GwDqEh_OYy7YxtoRUfZAyb2Q=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-5802898-1403091654-4952.jpeg.jpg',\n", " 'title': 'The Beatles - サムシング (Something) / カム・トゥゲザー (Come Together)',\n", " 'type': 'release',\n", " 'uri': '/Beatles-%E3%82%B5%E3%83%A0%E3%82%B7%E3%83%B3%E3%82%B0-Something-%E3%82%AB%E3%83%A0%E3%83%88%E3%82%A5%E3%82%B2%E3%82%B6%E3%83%BC-Come-Together/release/5802898',\n", " 'year': '1977'},\n", " {'barcode': [],\n", " 'catno': 'none',\n", " 'community': {'have': 2, 'want': 2},\n", " 'country': 'UK',\n", " 'format': ['Vinyl', '7\"', 'Single Sided', 'Unofficial Release'],\n", " 'genre': ['Hip Hop'],\n", " 'id': 6145192,\n", " 'label': ['Bad Productions'],\n", " 'resource_url': 'https://api.discogs.com/releases/6145192',\n", " 'style': ['RnB/Swing'],\n", " 'thumb': '',\n", " 'title': \"Mary J. Blige Vs The Beatles - Family's Come Together\",\n", " 'type': 'release',\n", " 'uri': '/Mary-J-Blige-Vs-The-Beatles-Familys-Come-Together/release/6145192',\n", " 'year': '2002'},\n", " {'barcode': ['YEX-749-1S',\n", " 'YEX-749-2S',\n", " 'MADE IN JAPAN Ⓗ',\n", " '(AR-2400)',\n", " '¥400'],\n", " 'catno': 'AR-2400',\n", " 'community': {'have': 71, 'want': 33},\n", " 'country': 'Japan',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single', 'Stereo'],\n", " 'genre': ['Rock'],\n", " 'id': 3971374,\n", " 'label': ['Apple Records', 'Toshiba Musical Industries Ltd.'],\n", " 'resource_url': 'https://api.discogs.com/releases/3971374',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/RtOIj34pTizfZ1CyNmQR_8YYcGg=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-3971374-1440417343-3946.jpeg.jpg',\n", " 'title': 'ビートルズ* - カム・トゥゲザー (Come Together) / サムシング (Something)',\n", " 'type': 'release',\n", " 'uri': '/%E3%83%93%E3%83%BC%E3%83%88%E3%83%AB%E3%82%BA-%E3%82%AB%E3%83%A0%E3%83%88%E3%82%A5%E3%82%B2%E3%82%B6%E3%83%BC-Come-Together-%E3%82%B5%E3%83%A0%E3%82%B7%E3%83%B3%E3%82%B0-Something/release/3971374',\n", " 'year': '1969'},\n", " {'barcode': [],\n", " 'catno': 'EX-4325',\n", " 'community': {'have': 1, 'want': 1},\n", " 'country': 'Iran',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'EP', 'Unofficial Release'],\n", " 'genre': ['Rock', 'Pop'],\n", " 'id': 10843838,\n", " 'label': ['Top 4', 'Ahang Rooz Manufacturing Co. Ltd.'],\n", " 'resource_url': 'https://api.discogs.com/releases/10843838',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/Ps5LGMmbjd6HkRxuHBbY3o97lSQ=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-10843838-1505222578-5905.jpeg.jpg',\n", " 'title': 'The Beatles / The Guess Who / Steam - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-The-Guess-Who-Steam-Something-Come-Together/release/10843838',\n", " 'year': '1969'},\n", " {'barcode': [],\n", " 'catno': 'EX-4325',\n", " 'community': {'have': 6, 'want': 8},\n", " 'country': 'Iran',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'EP', 'Unofficial Release', 'Mono'],\n", " 'genre': ['Rock'],\n", " 'id': 2958127,\n", " 'label': ['Top 4'],\n", " 'resource_url': 'https://api.discogs.com/releases/2958127',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/U3vQo3om13lj8m07y9g684rAuWA=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-2958127-1309128541.jpeg.jpg',\n", " 'title': 'The Beatles / The Guess Who / Steam - Something / Come Together',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-The-Guess-Who-Steam-Something-Come-Together/release/2958127'},\n", " {'barcode': ['HDM-104-A', 'HDM-104-B'],\n", " 'catno': 'HDM-104',\n", " 'community': {'have': 0, 'want': 7},\n", " 'country': 'Thailand',\n", " 'format': ['Vinyl', '7\"', '33 ⅓ RPM', 'EP'],\n", " 'genre': ['Rock', 'Pop'],\n", " 'id': 8263522,\n", " 'label': ['Handy Mate'],\n", " 'resource_url': 'https://api.discogs.com/releases/8263522',\n", " 'style': ['Beat'],\n", " 'thumb': 'https://img.discogs.com/0HnuhfJEcuazoTpJ4EMQZ3TX1hI=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-8263522-1458224027-5839.jpeg.jpg',\n", " 'title': 'The Beatles, Zager & Evans, Motherlode (2) - Come Together / Something',\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Zager-Evans-Motherlode-Come-Together-Something/release/8263522',\n", " 'year': '1969'},\n", " {'barcode': [],\n", " 'catno': '4AP.1823',\n", " 'community': {'have': 0, 'want': 5},\n", " 'country': 'Venezuela',\n", " 'format': ['Vinyl', '7\"', '45 RPM', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 5424120,\n", " 'label': ['Apple Records', 'Corporacion Los Ruices'],\n", " 'resource_url': 'https://api.discogs.com/releases/5424120',\n", " 'style': [],\n", " 'thumb': 'https://img.discogs.com/CykIwRF1GyLK_7yAhA9Tr9909ww=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-5424120-1500811502-7827.jpeg.jpg',\n", " 'title': 'The Beatles - Come Together (Juntense) / Oh Darling',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Come-Together-Juntense-Oh-Darling/release/5424120',\n", " 'year': '1973'},\n", " {'barcode': [],\n", " 'catno': 'none',\n", " 'community': {'have': 0, 'want': 0},\n", " 'country': 'Brazil',\n", " 'format': ['File', 'MP3', 'Unofficial Release'],\n", " 'genre': ['Electronic'],\n", " 'id': 4942219,\n", " 'label': ['Not On Label (The Beatles)'],\n", " 'resource_url': 'https://api.discogs.com/releases/4942219',\n", " 'style': ['Tech House', 'House'],\n", " 'thumb': '',\n", " 'title': 'The Beatles - Come Together (Lisboa & Luthier Remix)',\n", " 'type': 'release',\n", " 'uri': '/Beatles-Come-Together-Lisboa-Luthier-Remix/release/4942219',\n", " 'year': '2011'},\n", " {'barcode': [],\n", " 'catno': 'fab 3',\n", " 'community': {'have': 4, 'want': 0},\n", " 'country': 'UK',\n", " 'format': ['CD', 'Compilation', 'Unofficial Release'],\n", " 'genre': ['Rock', 'Pop'],\n", " 'id': 8687684,\n", " 'label': ['Odeon'],\n", " 'resource_url': 'https://api.discogs.com/releases/8687684',\n", " 'style': [],\n", " 'thumb': 'https://img.discogs.com/NSOKGehBa4JVPZt-U2PnRBKDtZk=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-8687684-1466670930-9895.jpeg.jpg',\n", " 'title': \"The Beatles - Come Together (Beatles In The '90s)\",\n", " 'type': 'release',\n", " 'uri': '/The-Beatles-Come-Together-Beatles-In-The-90s/release/8687684',\n", " 'year': '1996'},\n", " {'barcode': [],\n", " 'catno': 'FAB 3',\n", " 'community': {'have': 21, 'want': 1},\n", " 'country': 'Japan',\n", " 'format': ['CD', 'Compilation', 'Unofficial Release'],\n", " 'genre': ['Rock', 'Pop'],\n", " 'id': 4094798,\n", " 'label': ['Fab'],\n", " 'resource_url': 'https://api.discogs.com/releases/4094798',\n", " 'style': [],\n", " 'thumb': 'https://img.discogs.com/rZF2U3nsinYbyxRSjN_iZ5iBQFE=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-4094798-1355060332-5986.jpeg.jpg',\n", " 'title': \"The Beatles - Come Together (Beatles In The '90s)\",\n", " 'type': 'release',\n", " 'uri': '/Beatles-Come-Together-Beatles-In-The-90s/release/4094798',\n", " 'year': '1996'}]" ] }, "execution_count": 139, "metadata": {}, "output_type": "execute_result" } ], "source": [ "come_together_search = discogs_search({'artist': 'The Beatles', 'title': 'Come Together'}, show_progress=True)\n", "come_together_search" ] }, { "cell_type": "code", "execution_count": 141, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "[{'barcode': ['7YCE.21369', '7YCE.21370', '7YCE 21369-1U', '7YCE 21370-1U'],\n", " 'catno': 'R 5814',\n", " 'community': {'have': 3970, 'want': 1789},\n", " 'country': 'UK',\n", " 'format': ['Vinyl', '7\"', 'Single'],\n", " 'genre': ['Rock'],\n", " 'id': 54558,\n", " 'label': ['Apple Records', 'Northern Songs', 'Harrisongs'],\n", " 'resource_url': 'https://api.discogs.com/masters/54558',\n", " 'style': ['Pop Rock'],\n", " 'thumb': 'https://img.discogs.com/lNA75bhNCWcBY42-g-Mf0zoAYPs=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-513427-1278590203.jpeg.jpg',\n", " 'title': 'The Beatles - Something / Come Together',\n", " 'type': 'master',\n", " 'uri': '/The-Beatles-Something-Come-Together/master/54558',\n", " 'year': '1969'}]" ] }, "execution_count": 141, "metadata": {}, "output_type": "execute_result" } ], "source": [ "[t for t in come_together_search\n", "if t['country'] == 'UK'\n", "if t['type'] == 'master']" ] }, { "cell_type": "code", "execution_count": 142, "metadata": { "scrolled": true }, "outputs": [ { "data": { "text/plain": [ "" ] }, "execution_count": 142, "metadata": {}, "output_type": "execute_result" } ], "source": [ "url = 'https://api.discogs.com/releases/2498807'\n", "headers = {'Authorization': 'Discogs token=' + config['discogs']['token']}\n", "releases = []\n", "request = urllib.request.Request(url, headers=headers, method='GET')\n", "response = urllib.request.urlopen(request)\n", "response.info()" ] }, { "cell_type": "code", "execution_count": 147, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "int" ] }, "execution_count": 147, "metadata": {}, "output_type": "execute_result" } ], "source": [ "type(int(response.info()['X-Discogs-Ratelimit-Remaining']))" ] }, { "cell_type": "code", "execution_count": 15, "metadata": { "scrolled": true }, "outputs": [ { "data": { "text/plain": [ "{'rating': {'average': 4.2, 'count': 20}, 'release_id': 54558}" ] }, "execution_count": 15, "metadata": {}, "output_type": "execute_result" } ], "source": [ "url = 'https://api.discogs.com/releases/54558/rating'\n", "headers = {'Authorization': 'Discogs token=' + config['discogs']['token']}\n", "releases = []\n", "request = urllib.request.Request(url, headers=headers, method='GET')\n", "r = urllib.request.urlopen(request)\n", "response = json.loads(r.read().decode('utf-8'))\n", "response" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.5.3" } }, "nbformat": 4, "nbformat_minor": 1 }