--> -->
 
 
TypeError
Python 3.5.3: /usr/bin/python3
Fri May 7 15:48:44 2021

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /var/www/html/artistprofile.cgi in ()
    209         if artistdata:
    210             fals = getdata(urllib.parse.quote(id) + '/related-artists', 'artists')
=>  211             albums = getalbums(id, country)
    212 
    213     if artistdata:
albums undefined, getalbums = <function getalbums>, id = '0VkFRNCZEZb36Hs5DOOAmp', country = None
 /var/www/html/artistprofile.cgi in getalbums(id='0VkFRNCZEZb36Hs5DOOAmp', market=None)
     35     while ids:
     36         chunk = ids[:20]
=>   37         albums.extend(getdata('https://api.spotify.com/v1/albums?ids=%s' % ','.join(chunk), 'albums'))
     38         ids = ids[20:]
     39     for album in albums:
albums = [{'album_type': 'album', 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/0VkFRNCZEZb36Hs5DOOAmp'}, 'href': 'https://api.spotify.com/v1/artists/0VkFRNCZEZb36Hs5DOOAmp', 'id': '0VkFRNCZEZb36Hs5DOOAmp', 'name': 'Immanuel Kant', 'type': 'artist', 'uri': 'spotify:artist:0VkFRNCZEZb36Hs5DOOAmp'}, {'external_urls': {'spotify': 'https://open.spotify.com/artist/53OEvQbCecZLiazQb1wBSy'}, 'href': 'https://api.spotify.com/v1/artists/53OEvQbCecZLiazQb1wBSy', 'id': '53OEvQbCecZLiazQb1wBSy', 'name': 'Sven Görtz', 'type': 'artist', 'uri': 'spotify:artist:53OEvQbCecZLiazQb1wBSy'}], 'available_markets': ['AD', 'AE', 'AG', 'AL', 'AM', 'AO', 'AR', 'AT', 'AU', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BN', ...], 'copyrights': [{'text': '2020 Bäng Management & Verlags GmbH & Co. KG', 'type': 'C'}, {'text': '2020 Bäng Management & Verlags GmbH & Co. KG', 'type': 'P'}], 'external_ids': {'upc': '4064066875718'}, 'external_urls': {'spotify': 'https://open.spotify.com/album/3mTvZy0jUjvxR3d9QioqDH'}, 'genres': [], 'href': 'https://api.spotify.com/v1/albums/3mTvZy0jUjvxR3d9QioqDH', 'id': '3mTvZy0jUjvxR3d9QioqDH', 'images': [{'height': 640, 'url': 'https://i.scdn.co/image/ab67616d0000b273f2f8ac335b72d62193dba5c2', 'width': 640}, {'height': 300, 'url': 'https://i.scdn.co/image/ab67616d00001e02f2f8ac335b72d62193dba5c2', 'width': 300}, {'height': 64, 'url': 'https://i.scdn.co/image/ab67616d00004851f2f8ac335b72d62193dba5c2', 'width': 64}], ...}, {'album_type': 'album', 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/2nh301lbnDcwaBi39zH6PG'}, 'href': 'https://api.spotify.com/v1/artists/2nh301lbnDcwaBi39zH6PG', 'id': '2nh301lbnDcwaBi39zH6PG', 'name': 'Audio Media Digital Hörbücher', 'type': 'artist', 'uri': 'spotify:artist:2nh301lbnDcwaBi39zH6PG'}, {'external_urls': {'spotify': 'https://open.spotify.com/artist/2KGCIYkMVyhCu8HXMkClsj'}, 'href': 'https://api.spotify.com/v1/artists/2KGCIYkMVyhCu8HXMkClsj', 'id': '2KGCIYkMVyhCu8HXMkClsj', 'name': 'Heiner Lamprecht', 'type': 'artist', 'uri': 'spotify:artist:2KGCIYkMVyhCu8HXMkClsj'}, {'external_urls': {'spotify': 'https://open.spotify.com/artist/0VkFRNCZEZb36Hs5DOOAmp'}, 'href': 'https://api.spotify.com/v1/artists/0VkFRNCZEZb36Hs5DOOAmp', 'id': '0VkFRNCZEZb36Hs5DOOAmp', 'name': 'Immanuel Kant', 'type': 'artist', 'uri': 'spotify:artist:0VkFRNCZEZb36Hs5DOOAmp'}], 'available_markets': ['AD', 'AE', 'AG', 'AL', 'AM', 'AO', 'AR', 'AT', 'AU', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BN', ...], 'copyrights': [{'text': '2020 Der Drehbuchverlag', 'type': 'C'}, {'text': '2020 Der Drehbuchverlag Audio', 'type': 'P'}], 'external_ids': {'upc': '9783991166320'}, 'external_urls': {'spotify': 'https://open.spotify.com/album/4byJVJopSf51Cfy7PHA0BO'}, 'genres': [], 'href': 'https://api.spotify.com/v1/albums/4byJVJopSf51Cfy7PHA0BO', 'id': '4byJVJopSf51Cfy7PHA0BO', 'images': [{'height': 640, 'url': 'https://i.scdn.co/image/ab67616d0000b27314d4cfd76612873bc3bb8c6e', 'width': 640}, {'height': 300, 'url': 'https://i.scdn.co/image/ab67616d00001e0214d4cfd76612873bc3bb8c6e', 'width': 300}, {'height': 64, 'url': 'https://i.scdn.co/image/ab67616d0000485114d4cfd76612873bc3bb8c6e', 'width': 64}], ...}, {'album_type': 'album', 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/0VkFRNCZEZb36Hs5DOOAmp'}, 'href': 'https://api.spotify.com/v1/artists/0VkFRNCZEZb36Hs5DOOAmp', 'id': '0VkFRNCZEZb36Hs5DOOAmp', 'name': 'Immanuel Kant', 'type': 'artist', 'uri': 'spotify:artist:0VkFRNCZEZb36Hs5DOOAmp'}], 'available_markets': ['AD', 'AE', 'AG', 'AL', 'AM', 'AO', 'AR', 'AT', 'AU', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BN', ...], 'copyrights': [{'text': '2020 SAGA Egmont', 'type': 'C'}, {'text': '2020 SAGA Egmont', 'type': 'P'}], 'external_ids': {'upc': '4064066510084'}, 'external_urls': {'spotify': 'https://open.spotify.com/album/2LVIHh1ePuyw7eW0hEZwIQ'}, 'genres': [], 'href': 'https://api.spotify.com/v1/albums/2LVIHh1ePuyw7eW0hEZwIQ', 'id': '2LVIHh1ePuyw7eW0hEZwIQ', 'images': [{'height': 640, 'url': 'https://i.scdn.co/image/ab67616d0000b273fbfffcacb1203888b55ecc1a', 'width': 640}, {'height': 300, 'url': 'https://i.scdn.co/image/ab67616d00001e02fbfffcacb1203888b55ecc1a', 'width': 300}, {'height': 64, 'url': 'https://i.scdn.co/image/ab67616d00004851fbfffcacb1203888b55ecc1a', 'width': 64}], ...}, {'album_type': 'album', 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/0VkFRNCZEZb36Hs5DOOAmp'}, 'href': 'https://api.spotify.com/v1/artists/0VkFRNCZEZb36Hs5DOOAmp', 'id': '0VkFRNCZEZb36Hs5DOOAmp', 'name': 'Immanuel Kant', 'type': 'artist', 'uri': 'spotify:artist:0VkFRNCZEZb36Hs5DOOAmp'}], 'available_markets': ['AD', 'AE', 'AG', 'AL', 'AM', 'AO', 'AR', 'AT', 'AU', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BN', ...], 'copyrights': [{'text': '2020 Astorg España', 'type': 'C'}, {'text': '2020 Astorg España', 'type': 'P'}], 'external_ids': {'upc': '4064066818609'}, 'external_urls': {'spotify': 'https://open.spotify.com/album/42XNQ8RN2Y8OMcPL6X5I9o'}, 'genres': [], 'href': 'https://api.spotify.com/v1/albums/42XNQ8RN2Y8OMcPL6X5I9o', 'id': '42XNQ8RN2Y8OMcPL6X5I9o', 'images': [{'height': 640, 'url': 'https://i.scdn.co/image/ab67616d0000b273bebe61d4e3fe73e3dcd39a68', 'width': 640}, {'height': 300, 'url': 'https://i.scdn.co/image/ab67616d00001e02bebe61d4e3fe73e3dcd39a68', 'width': 300}, {'height': 64, 'url': 'https://i.scdn.co/image/ab67616d00004851bebe61d4e3fe73e3dcd39a68', 'width': 64}], ...}, {'album_type': 'album', 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/0VkFRNCZEZb36Hs5DOOAmp'}, 'href': 'https://api.spotify.com/v1/artists/0VkFRNCZEZb36Hs5DOOAmp', 'id': '0VkFRNCZEZb36Hs5DOOAmp', 'name': 'Immanuel Kant', 'type': 'artist', 'uri': 'spotify:artist:0VkFRNCZEZb36Hs5DOOAmp'}], 'available_markets': ['AD', 'AE', 'AG', 'AL', 'AM', 'AO', 'AR', 'AT', 'AU', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BN', ...], 'copyrights': [{'text': '2020 Astorg Português', 'type': 'C'}, {'text': '2020 Astorg Português', 'type': 'P'}], 'external_ids': {'upc': '4064066849436'}, 'external_urls': {'spotify': 'https://open.spotify.com/album/60SnqYf3GI8cuPVyKn7LiQ'}, 'genres': [], 'href': 'https://api.spotify.com/v1/albums/60SnqYf3GI8cuPVyKn7LiQ', 'id': '60SnqYf3GI8cuPVyKn7LiQ', 'images': [{'height': 640, 'url': 'https://i.scdn.co/image/ab67616d0000b2732199940345a6d708ab6d6ac8', 'width': 640}, {'height': 300, 'url': 'https://i.scdn.co/image/ab67616d00001e022199940345a6d708ab6d6ac8', 'width': 300}, {'height': 64, 'url': 'https://i.scdn.co/image/ab67616d000048512199940345a6d708ab6d6ac8', 'width': 64}], ...}, {'album_type': 'album', 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/0VkFRNCZEZb36Hs5DOOAmp'}, 'href': 'https://api.spotify.com/v1/artists/0VkFRNCZEZb36Hs5DOOAmp', 'id': '0VkFRNCZEZb36Hs5DOOAmp', 'name': 'Immanuel Kant', 'type': 'artist', 'uri': 'spotify:artist:0VkFRNCZEZb36Hs5DOOAmp'}], 'available_markets': ['AD', 'AE', 'AG', 'AL', 'AM', 'AO', 'AR', 'AT', 'AU', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BN', ...], 'copyrights': [{'text': '2020 Astorg Germany', 'type': 'C'}, {'text': '2020 Astorg Germany', 'type': 'P'}], 'external_ids': {'upc': '4064066777173'}, 'external_urls': {'spotify': 'https://open.spotify.com/album/3272BFwoQK3dLdSSESChK7'}, 'genres': [], 'href': 'https://api.spotify.com/v1/albums/3272BFwoQK3dLdSSESChK7', 'id': '3272BFwoQK3dLdSSESChK7', 'images': [{'height': 640, 'url': 'https://i.scdn.co/image/ab67616d0000b273ab7e7bae1864a70111d4a6c2', 'width': 640}, {'height': 300, 'url': 'https://i.scdn.co/image/ab67616d00001e02ab7e7bae1864a70111d4a6c2', 'width': 300}, {'height': 64, 'url': 'https://i.scdn.co/image/ab67616d00004851ab7e7bae1864a70111d4a6c2', 'width': 64}], ...}, {'album_type': 'album', 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/0VkFRNCZEZb36Hs5DOOAmp'}, 'href': 'https://api.spotify.com/v1/artists/0VkFRNCZEZb36Hs5DOOAmp', 'id': '0VkFRNCZEZb36Hs5DOOAmp', 'name': 'Immanuel Kant', 'type': 'artist', 'uri': 'spotify:artist:0VkFRNCZEZb36Hs5DOOAmp'}], 'available_markets': ['AD', 'AE', 'AG', 'AL', 'AM', 'AO', 'AR', 'AT', 'AU', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BN', ...], 'copyrights': [{'text': '2020 Astorg Sweeden', 'type': 'C'}, {'text': '2020 Astorg Sweeden', 'type': 'P'}], 'external_ids': {'upc': '4064066773304'}, 'external_urls': {'spotify': 'https://open.spotify.com/album/3G2e66on46sGmKkXP6CAr4'}, 'genres': [], 'href': 'https://api.spotify.com/v1/albums/3G2e66on46sGmKkXP6CAr4', 'id': '3G2e66on46sGmKkXP6CAr4', 'images': [{'height': 640, 'url': 'https://i.scdn.co/image/ab67616d0000b2735f9c34fab3ee3768289ff0e1', 'width': 640}, {'height': 300, 'url': 'https://i.scdn.co/image/ab67616d00001e025f9c34fab3ee3768289ff0e1', 'width': 300}, {'height': 64, 'url': 'https://i.scdn.co/image/ab67616d000048515f9c34fab3ee3768289ff0e1', 'width': 64}], ...}, {'album_type': 'album', 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/0VkFRNCZEZb36Hs5DOOAmp'}, 'href': 'https://api.spotify.com/v1/artists/0VkFRNCZEZb36Hs5DOOAmp', 'id': '0VkFRNCZEZb36Hs5DOOAmp', 'name': 'Immanuel Kant', 'type': 'artist', 'uri': 'spotify:artist:0VkFRNCZEZb36Hs5DOOAmp'}], 'available_markets': ['AD', 'AE', 'AG', 'AL', 'AM', 'AO', 'AR', 'AT', 'AU', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BN', ...], 'copyrights': [{'text': '2020 Astorg Nederland', 'type': 'C'}, {'text': '2020 Astorg Nederland', 'type': 'P'}], 'external_ids': {'upc': '4064066778651'}, 'external_urls': {'spotify': 'https://open.spotify.com/album/16vtwNPgNHnJHvipclQVuC'}, 'genres': [], 'href': 'https://api.spotify.com/v1/albums/16vtwNPgNHnJHvipclQVuC', 'id': '16vtwNPgNHnJHvipclQVuC', 'images': [{'height': 640, 'url': 'https://i.scdn.co/image/ab67616d0000b273e6853a312db311fa658e3ce9', 'width': 640}, {'height': 300, 'url': 'https://i.scdn.co/image/ab67616d00001e02e6853a312db311fa658e3ce9', 'width': 300}, {'height': 64, 'url': 'https://i.scdn.co/image/ab67616d00004851e6853a312db311fa658e3ce9', 'width': 64}], ...}, {'album_type': 'album', 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/0VkFRNCZEZb36Hs5DOOAmp'}, 'href': 'https://api.spotify.com/v1/artists/0VkFRNCZEZb36Hs5DOOAmp', 'id': '0VkFRNCZEZb36Hs5DOOAmp', 'name': 'Immanuel Kant', 'type': 'artist', 'uri': 'spotify:artist:0VkFRNCZEZb36Hs5DOOAmp'}], 'available_markets': ['AD', 'AE', 'AG', 'AL', 'AM', 'AO', 'AR', 'AT', 'AU', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BN', ...], 'copyrights': [{'text': '2020 Astorg Audiolibri', 'type': 'C'}, {'text': '2020 Astorg Audiolibri', 'type': 'P'}], 'external_ids': {'upc': '4064066786854'}, 'external_urls': {'spotify': 'https://open.spotify.com/album/4jOp8rZ5agTxEZ1gx46GxW'}, 'genres': [], 'href': 'https://api.spotify.com/v1/albums/4jOp8rZ5agTxEZ1gx46GxW', 'id': '4jOp8rZ5agTxEZ1gx46GxW', 'images': [{'height': 640, 'url': 'https://i.scdn.co/image/ab67616d0000b273649cc4ba59dd8ead08b4fe54', 'width': 640}, {'height': 300, 'url': 'https://i.scdn.co/image/ab67616d00001e02649cc4ba59dd8ead08b4fe54', 'width': 300}, {'height': 64, 'url': 'https://i.scdn.co/image/ab67616d00004851649cc4ba59dd8ead08b4fe54', 'width': 64}], ...}, {'album_type': 'album', 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/0VkFRNCZEZb36Hs5DOOAmp'}, 'href': 'https://api.spotify.com/v1/artists/0VkFRNCZEZb36Hs5DOOAmp', 'id': '0VkFRNCZEZb36Hs5DOOAmp', 'name': 'Immanuel Kant', 'type': 'artist', 'uri': 'spotify:artist:0VkFRNCZEZb36Hs5DOOAmp'}], 'available_markets': ['AD', 'AE', 'AG', 'AL', 'AM', 'AO', 'AR', 'AT', 'AU', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BN', ...], 'copyrights': [{'text': '2020 Astorg Norway', 'type': 'C'}, {'text': '2020 Astorg Norway', 'type': 'P'}], 'external_ids': {'upc': '4064066798185'}, 'external_urls': {'spotify': 'https://open.spotify.com/album/3szN8dFKJeAltRHXLDtV5P'}, 'genres': [], 'href': 'https://api.spotify.com/v1/albums/3szN8dFKJeAltRHXLDtV5P', 'id': '3szN8dFKJeAltRHXLDtV5P', 'images': [{'height': 640, 'url': 'https://i.scdn.co/image/ab67616d0000b27355becdd36df2fed4f2c89eb2', 'width': 640}, {'height': 300, 'url': 'https://i.scdn.co/image/ab67616d00001e0255becdd36df2fed4f2c89eb2', 'width': 300}, {'height': 64, 'url': 'https://i.scdn.co/image/ab67616d0000485155becdd36df2fed4f2c89eb2', 'width': 64}], ...}, {'album_type': 'album', 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/0w4StlpMrIJJmyfNSaS7y3'}, 'href': 'https://api.spotify.com/v1/artists/0w4StlpMrIJJmyfNSaS7y3', 'id': '0w4StlpMrIJJmyfNSaS7y3', 'name': 'Plato', 'type': 'artist', 'uri': 'spotify:artist:0w4StlpMrIJJmyfNSaS7y3'}, {'external_urls': {'spotify': 'https://open.spotify.com/artist/0VkFRNCZEZb36Hs5DOOAmp'}, 'href': 'https://api.spotify.com/v1/artists/0VkFRNCZEZb36Hs5DOOAmp', 'id': '0VkFRNCZEZb36Hs5DOOAmp', 'name': 'Immanuel Kant', 'type': 'artist', 'uri': 'spotify:artist:0VkFRNCZEZb36Hs5DOOAmp'}, {'external_urls': {'spotify': 'https://open.spotify.com/artist/36XXekgbcRhB4c5wL34eLZ'}, 'href': 'https://api.spotify.com/v1/artists/36XXekgbcRhB4c5wL34eLZ', 'id': '36XXekgbcRhB4c5wL34eLZ', 'name': 'Arthur Schopenhauer', 'type': 'artist', 'uri': 'spotify:artist:36XXekgbcRhB4c5wL34eLZ'}], 'available_markets': ['AD', 'AE', 'AG', 'AL', 'AM', 'AO', 'AR', 'AT', 'AU', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BN', ...], 'copyrights': [{'text': '2020 Astorg España', 'type': 'C'}, {'text': '2020 Astorg España', 'type': 'P'}], 'external_ids': {'upc': '4064066817886'}, 'external_urls': {'spotify': 'https://open.spotify.com/album/20Yzc0VsIpDkiS3DVfZ5QB'}, 'genres': [], 'href': 'https://api.spotify.com/v1/albums/20Yzc0VsIpDkiS3DVfZ5QB', 'id': '20Yzc0VsIpDkiS3DVfZ5QB', 'images': [{'height': 640, 'url': 'https://i.scdn.co/image/ab67616d0000b2732797669cf7991039c9b5fa5e', 'width': 640}, {'height': 300, 'url': 'https://i.scdn.co/image/ab67616d00001e022797669cf7991039c9b5fa5e', 'width': 300}, {'height': 64, 'url': 'https://i.scdn.co/image/ab67616d000048512797669cf7991039c9b5fa5e', 'width': 64}], ...}, {'album_type': 'album', 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/0w4StlpMrIJJmyfNSaS7y3'}, 'href': 'https://api.spotify.com/v1/artists/0w4StlpMrIJJmyfNSaS7y3', 'id': '0w4StlpMrIJJmyfNSaS7y3', 'name': 'Plato', 'type': 'artist', 'uri': 'spotify:artist:0w4StlpMrIJJmyfNSaS7y3'}, {'external_urls': {'spotify': 'https://open.spotify.com/artist/0VkFRNCZEZb36Hs5DOOAmp'}, 'href': 'https://api.spotify.com/v1/artists/0VkFRNCZEZb36Hs5DOOAmp', 'id': '0VkFRNCZEZb36Hs5DOOAmp', 'name': 'Immanuel Kant', 'type': 'artist', 'uri': 'spotify:artist:0VkFRNCZEZb36Hs5DOOAmp'}, {'external_urls': {'spotify': 'https://open.spotify.com/artist/36XXekgbcRhB4c5wL34eLZ'}, 'href': 'https://api.spotify.com/v1/artists/36XXekgbcRhB4c5wL34eLZ', 'id': '36XXekgbcRhB4c5wL34eLZ', 'name': 'Arthur Schopenhauer', 'type': 'artist', 'uri': 'spotify:artist:36XXekgbcRhB4c5wL34eLZ'}], 'available_markets': ['AD', 'AE', 'AG', 'AL', 'AM', 'AO', 'AR', 'AT', 'AU', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BN', ...], 'copyrights': [{'text': '2020 Astorg Português', 'type': 'C'}, {'text': '2020 Astorg Português', 'type': 'P'}], 'external_ids': {'upc': '4064066775247'}, 'external_urls': {'spotify': 'https://open.spotify.com/album/5DNSTGcvbVINfWfyw6VisU'}, 'genres': [], 'href': 'https://api.spotify.com/v1/albums/5DNSTGcvbVINfWfyw6VisU', 'id': '5DNSTGcvbVINfWfyw6VisU', 'images': [{'height': 640, 'url': 'https://i.scdn.co/image/ab67616d0000b2739413e8f28d781277f8835868', 'width': 640}, {'height': 300, 'url': 'https://i.scdn.co/image/ab67616d00001e029413e8f28d781277f8835868', 'width': 300}, {'height': 64, 'url': 'https://i.scdn.co/image/ab67616d000048519413e8f28d781277f8835868', 'width': 64}], ...}, {'album_type': 'album', 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/0w4StlpMrIJJmyfNSaS7y3'}, 'href': 'https://api.spotify.com/v1/artists/0w4StlpMrIJJmyfNSaS7y3', 'id': '0w4StlpMrIJJmyfNSaS7y3', 'name': 'Plato', 'type': 'artist', 'uri': 'spotify:artist:0w4StlpMrIJJmyfNSaS7y3'}, {'external_urls': {'spotify': 'https://open.spotify.com/artist/0VkFRNCZEZb36Hs5DOOAmp'}, 'href': 'https://api.spotify.com/v1/artists/0VkFRNCZEZb36Hs5DOOAmp', 'id': '0VkFRNCZEZb36Hs5DOOAmp', 'name': 'Immanuel Kant', 'type': 'artist', 'uri': 'spotify:artist:0VkFRNCZEZb36Hs5DOOAmp'}, {'external_urls': {'spotify': 'https://open.spotify.com/artist/36XXekgbcRhB4c5wL34eLZ'}, 'href': 'https://api.spotify.com/v1/artists/36XXekgbcRhB4c5wL34eLZ', 'id': '36XXekgbcRhB4c5wL34eLZ', 'name': 'Arthur Schopenhauer', 'type': 'artist', 'uri': 'spotify:artist:36XXekgbcRhB4c5wL34eLZ'}], 'available_markets': ['AD', 'AE', 'AG', 'AL', 'AM', 'AO', 'AR', 'AT', 'AU', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BN', ...], 'copyrights': [{'text': '2020 Astorg Germany', 'type': 'C'}, {'text': '2020 Astorg Germany', 'type': 'P'}], 'external_ids': {'upc': '4064066849924'}, 'external_urls': {'spotify': 'https://open.spotify.com/album/0jyU5QZVfE4kY5q7gSiD2V'}, 'genres': [], 'href': 'https://api.spotify.com/v1/albums/0jyU5QZVfE4kY5q7gSiD2V', 'id': '0jyU5QZVfE4kY5q7gSiD2V', 'images': [{'height': 640, 'url': 'https://i.scdn.co/image/ab67616d0000b27391311460a47b62e1a317c38d', 'width': 640}, {'height': 300, 'url': 'https://i.scdn.co/image/ab67616d00001e0291311460a47b62e1a317c38d', 'width': 300}, {'height': 64, 'url': 'https://i.scdn.co/image/ab67616d0000485191311460a47b62e1a317c38d', 'width': 64}], ...}, {'album_type': 'album', 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/0w4StlpMrIJJmyfNSaS7y3'}, 'href': 'https://api.spotify.com/v1/artists/0w4StlpMrIJJmyfNSaS7y3', 'id': '0w4StlpMrIJJmyfNSaS7y3', 'name': 'Plato', 'type': 'artist', 'uri': 'spotify:artist:0w4StlpMrIJJmyfNSaS7y3'}, {'external_urls': {'spotify': 'https://open.spotify.com/artist/0VkFRNCZEZb36Hs5DOOAmp'}, 'href': 'https://api.spotify.com/v1/artists/0VkFRNCZEZb36Hs5DOOAmp', 'id': '0VkFRNCZEZb36Hs5DOOAmp', 'name': 'Immanuel Kant', 'type': 'artist', 'uri': 'spotify:artist:0VkFRNCZEZb36Hs5DOOAmp'}, {'external_urls': {'spotify': 'https://open.spotify.com/artist/36XXekgbcRhB4c5wL34eLZ'}, 'href': 'https://api.spotify.com/v1/artists/36XXekgbcRhB4c5wL34eLZ', 'id': '36XXekgbcRhB4c5wL34eLZ', 'name': 'Arthur Schopenhauer', 'type': 'artist', 'uri': 'spotify:artist:36XXekgbcRhB4c5wL34eLZ'}], 'available_markets': ['AD', 'AE', 'AG', 'AL', 'AM', 'AO', 'AR', 'AT', 'AU', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BN', ...], 'copyrights': [{'text': '2020 Astorg Sweeden', 'type': 'C'}, {'text': '2020 Astorg Sweeden', 'type': 'P'}], 'external_ids': {'upc': '4064066772970'}, 'external_urls': {'spotify': 'https://open.spotify.com/album/22RVkf1o0F0yjZbIDr3BPa'}, 'genres': [], 'href': 'https://api.spotify.com/v1/albums/22RVkf1o0F0yjZbIDr3BPa', 'id': '22RVkf1o0F0yjZbIDr3BPa', 'images': [{'height': 640, 'url': 'https://i.scdn.co/image/ab67616d0000b273bf5b2b6c08a1ddf08f9f2f64', 'width': 640}, {'height': 300, 'url': 'https://i.scdn.co/image/ab67616d00001e02bf5b2b6c08a1ddf08f9f2f64', 'width': 300}, {'height': 64, 'url': 'https://i.scdn.co/image/ab67616d00004851bf5b2b6c08a1ddf08f9f2f64', 'width': 64}], ...}, {'album_type': 'album', 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/0w4StlpMrIJJmyfNSaS7y3'}, 'href': 'https://api.spotify.com/v1/artists/0w4StlpMrIJJmyfNSaS7y3', 'id': '0w4StlpMrIJJmyfNSaS7y3', 'name': 'Plato', 'type': 'artist', 'uri': 'spotify:artist:0w4StlpMrIJJmyfNSaS7y3'}, {'external_urls': {'spotify': 'https://open.spotify.com/artist/0VkFRNCZEZb36Hs5DOOAmp'}, 'href': 'https://api.spotify.com/v1/artists/0VkFRNCZEZb36Hs5DOOAmp', 'id': '0VkFRNCZEZb36Hs5DOOAmp', 'name': 'Immanuel Kant', 'type': 'artist', 'uri': 'spotify:artist:0VkFRNCZEZb36Hs5DOOAmp'}, {'external_urls': {'spotify': 'https://open.spotify.com/artist/36XXekgbcRhB4c5wL34eLZ'}, 'href': 'https://api.spotify.com/v1/artists/36XXekgbcRhB4c5wL34eLZ', 'id': '36XXekgbcRhB4c5wL34eLZ', 'name': 'Arthur Schopenhauer', 'type': 'artist', 'uri': 'spotify:artist:36XXekgbcRhB4c5wL34eLZ'}], 'available_markets': ['AD', 'AE', 'AG', 'AL', 'AM', 'AO', 'AR', 'AT', 'AU', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BN', ...], 'copyrights': [{'text': '2020 Astorg Nederland', 'type': 'C'}, {'text': '2020 Astorg Nederland', 'type': 'P'}], 'external_ids': {'upc': '4064066779566'}, 'external_urls': {'spotify': 'https://open.spotify.com/album/0CW7JZfAlgz45qmS2VHO4X'}, 'genres': [], 'href': 'https://api.spotify.com/v1/albums/0CW7JZfAlgz45qmS2VHO4X', 'id': '0CW7JZfAlgz45qmS2VHO4X', 'images': [{'height': 640, 'url': 'https://i.scdn.co/image/ab67616d0000b273a1a62eb6053f5201d801d4a2', 'width': 640}, {'height': 300, 'url': 'https://i.scdn.co/image/ab67616d00001e02a1a62eb6053f5201d801d4a2', 'width': 300}, {'height': 64, 'url': 'https://i.scdn.co/image/ab67616d00004851a1a62eb6053f5201d801d4a2', 'width': 64}], ...}, {'album_type': 'album', 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/0w4StlpMrIJJmyfNSaS7y3'}, 'href': 'https://api.spotify.com/v1/artists/0w4StlpMrIJJmyfNSaS7y3', 'id': '0w4StlpMrIJJmyfNSaS7y3', 'name': 'Plato', 'type': 'artist', 'uri': 'spotify:artist:0w4StlpMrIJJmyfNSaS7y3'}, {'external_urls': {'spotify': 'https://open.spotify.com/artist/0VkFRNCZEZb36Hs5DOOAmp'}, 'href': 'https://api.spotify.com/v1/artists/0VkFRNCZEZb36Hs5DOOAmp', 'id': '0VkFRNCZEZb36Hs5DOOAmp', 'name': 'Immanuel Kant', 'type': 'artist', 'uri': 'spotify:artist:0VkFRNCZEZb36Hs5DOOAmp'}, {'external_urls': {'spotify': 'https://open.spotify.com/artist/36XXekgbcRhB4c5wL34eLZ'}, 'href': 'https://api.spotify.com/v1/artists/36XXekgbcRhB4c5wL34eLZ', 'id': '36XXekgbcRhB4c5wL34eLZ', 'name': 'Arthur Schopenhauer', 'type': 'artist', 'uri': 'spotify:artist:36XXekgbcRhB4c5wL34eLZ'}], 'available_markets': ['AD', 'AE', 'AG', 'AL', 'AM', 'AO', 'AR', 'AT', 'AU', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BN', ...], 'copyrights': [{'text': '2020 Astorg Audiolibri', 'type': 'C'}, {'text': '2020 Astorg Audiolibri', 'type': 'P'}], 'external_ids': {'upc': '4064066785260'}, 'external_urls': {'spotify': 'https://open.spotify.com/album/3X2t3pu6ExUgmXQKxmJv68'}, 'genres': [], 'href': 'https://api.spotify.com/v1/albums/3X2t3pu6ExUgmXQKxmJv68', 'id': '3X2t3pu6ExUgmXQKxmJv68', 'images': [{'height': 640, 'url': 'https://i.scdn.co/image/ab67616d0000b2734307e82f75ed8acc65b0d8f4', 'width': 640}, {'height': 300, 'url': 'https://i.scdn.co/image/ab67616d00001e024307e82f75ed8acc65b0d8f4', 'width': 300}, {'height': 64, 'url': 'https://i.scdn.co/image/ab67616d000048514307e82f75ed8acc65b0d8f4', 'width': 64}], ...}, {'album_type': 'album', 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/0w4StlpMrIJJmyfNSaS7y3'}, 'href': 'https://api.spotify.com/v1/artists/0w4StlpMrIJJmyfNSaS7y3', 'id': '0w4StlpMrIJJmyfNSaS7y3', 'name': 'Plato', 'type': 'artist', 'uri': 'spotify:artist:0w4StlpMrIJJmyfNSaS7y3'}, {'external_urls': {'spotify': 'https://open.spotify.com/artist/0VkFRNCZEZb36Hs5DOOAmp'}, 'href': 'https://api.spotify.com/v1/artists/0VkFRNCZEZb36Hs5DOOAmp', 'id': '0VkFRNCZEZb36Hs5DOOAmp', 'name': 'Immanuel Kant', 'type': 'artist', 'uri': 'spotify:artist:0VkFRNCZEZb36Hs5DOOAmp'}, {'external_urls': {'spotify': 'https://open.spotify.com/artist/36XXekgbcRhB4c5wL34eLZ'}, 'href': 'https://api.spotify.com/v1/artists/36XXekgbcRhB4c5wL34eLZ', 'id': '36XXekgbcRhB4c5wL34eLZ', 'name': 'Arthur Schopenhauer', 'type': 'artist', 'uri': 'spotify:artist:36XXekgbcRhB4c5wL34eLZ'}], 'available_markets': ['AD', 'AE', 'AG', 'AL', 'AM', 'AO', 'AR', 'AT', 'AU', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BN', ...], 'copyrights': [{'text': '2020 Astorg Norway', 'type': 'C'}, {'text': '2020 Astorg Norway', 'type': 'P'}], 'external_ids': {'upc': '4064066798604'}, 'external_urls': {'spotify': 'https://open.spotify.com/album/4H2kiTKsp9ZUD8Gy7Zkcsm'}, 'genres': [], 'href': 'https://api.spotify.com/v1/albums/4H2kiTKsp9ZUD8Gy7Zkcsm', 'id': '4H2kiTKsp9ZUD8Gy7Zkcsm', 'images': [{'height': 640, 'url': 'https://i.scdn.co/image/ab67616d0000b273280fe84240a27e470f19866c', 'width': 640}, {'height': 300, 'url': 'https://i.scdn.co/image/ab67616d00001e02280fe84240a27e470f19866c', 'width': 300}, {'height': 64, 'url': 'https://i.scdn.co/image/ab67616d00004851280fe84240a27e470f19866c', 'width': 64}], ...}, {'album_type': 'album', 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/0VkFRNCZEZb36Hs5DOOAmp'}, 'href': 'https://api.spotify.com/v1/artists/0VkFRNCZEZb36Hs5DOOAmp', 'id': '0VkFRNCZEZb36Hs5DOOAmp', 'name': 'Immanuel Kant', 'type': 'artist', 'uri': 'spotify:artist:0VkFRNCZEZb36Hs5DOOAmp'}], 'available_markets': ['AD', 'AE', 'AG', 'AL', 'AM', 'AO', 'AR', 'AT', 'AU', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BN', ...], 'copyrights': [{'text': '2018 AB Books', 'type': 'C'}, {'text': '2018 AB Books', 'type': 'P'}], 'external_ids': {'upc': '4057664435897'}, 'external_urls': {'spotify': 'https://open.spotify.com/album/5pwc6nCCrDqLUbcvgEjmZK'}, 'genres': [], 'href': 'https://api.spotify.com/v1/albums/5pwc6nCCrDqLUbcvgEjmZK', 'id': '5pwc6nCCrDqLUbcvgEjmZK', 'images': [{'height': 640, 'url': 'https://i.scdn.co/image/ab67616d0000b2735b94a18e347ad9ff963f2f48', 'width': 640}, {'height': 300, 'url': 'https://i.scdn.co/image/ab67616d00001e025b94a18e347ad9ff963f2f48', 'width': 300}, {'height': 64, 'url': 'https://i.scdn.co/image/ab67616d000048515b94a18e347ad9ff963f2f48', 'width': 64}], ...}, {'album_type': 'album', 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/64AlcWLv0R0rS5X0AAtwtN'}, 'href': 'https://api.spotify.com/v1/artists/64AlcWLv0R0rS5X0AAtwtN', 'id': '64AlcWLv0R0rS5X0AAtwtN', 'name': 'Rudolf Eucken', 'type': 'artist', 'uri': 'spotify:artist:64AlcWLv0R0rS5X0AAtwtN'}, {'external_urls': {'spotify': 'https://open.spotify.com/artist/0VkFRNCZEZb36Hs5DOOAmp'}, 'href': 'https://api.spotify.com/v1/artists/0VkFRNCZEZb36Hs5DOOAmp', 'id': '0VkFRNCZEZb36Hs5DOOAmp', 'name': 'Immanuel Kant', 'type': 'artist', 'uri': 'spotify:artist:0VkFRNCZEZb36Hs5DOOAmp'}], 'available_markets': ['AD', 'AE', 'AG', 'AL', 'AM', 'AO', 'AR', 'AT', 'AU', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BN', ...], 'copyrights': [{'text': '2018 Hierax Medien', 'type': 'C'}, {'text': '2018 Hierax Medien', 'type': 'P'}], 'external_ids': {'upc': '4057664527509'}, 'external_urls': {'spotify': 'https://open.spotify.com/album/3afGEZpnfXldb9874suXRH'}, 'genres': [], 'href': 'https://api.spotify.com/v1/albums/3afGEZpnfXldb9874suXRH', 'id': '3afGEZpnfXldb9874suXRH', 'images': [{'height': 640, 'url': 'https://i.scdn.co/image/ab67616d0000b27318e781d097419281b32b674f', 'width': 640}, {'height': 300, 'url': 'https://i.scdn.co/image/ab67616d00001e0218e781d097419281b32b674f', 'width': 300}, {'height': 64, 'url': 'https://i.scdn.co/image/ab67616d0000485118e781d097419281b32b674f', 'width': 64}], ...}, {'album_type': 'album', 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/6xr4xFlgpIIn4idlvsffxN'}, 'href': 'https://api.spotify.com/v1/artists/6xr4xFlgpIIn4idlvsffxN', 'id': '6xr4xFlgpIIn4idlvsffxN', 'name': 'Manfred Weltecke', 'type': 'artist', 'uri': 'spotify:artist:6xr4xFlgpIIn4idlvsffxN'}, {'external_urls': {'spotify': 'https://open.spotify.com/artist/0VkFRNCZEZb36Hs5DOOAmp'}, 'href': 'https://api.spotify.com/v1/artists/0VkFRNCZEZb36Hs5DOOAmp', 'id': '0VkFRNCZEZb36Hs5DOOAmp', 'name': 'Immanuel Kant', 'type': 'artist', 'uri': 'spotify:artist:0VkFRNCZEZb36Hs5DOOAmp'}], 'available_markets': ['AD', 'AE', 'AG', 'AL', 'AM', 'AO', 'AR', 'AT', 'AU', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BN', ...], 'copyrights': [{'text': '2018 Hierax Medien', 'type': 'C'}, {'text': '2018 Hierax Medien', 'type': 'P'}], 'external_ids': {'upc': '4057664527356'}, 'external_urls': {'spotify': 'https://open.spotify.com/album/5Ug6YRsk60aXOlWmcMriwP'}, 'genres': [], 'href': 'https://api.spotify.com/v1/albums/5Ug6YRsk60aXOlWmcMriwP', 'id': '5Ug6YRsk60aXOlWmcMriwP', 'images': [{'height': 640, 'url': 'https://i.scdn.co/image/ab67616d0000b27352ba07b76a9ddbc2e04df9b8', 'width': 640}, {'height': 300, 'url': 'https://i.scdn.co/image/ab67616d00001e0252ba07b76a9ddbc2e04df9b8', 'width': 300}, {'height': 64, 'url': 'https://i.scdn.co/image/ab67616d0000485152ba07b76a9ddbc2e04df9b8', 'width': 64}], ...}], albums.extend = <built-in method extend of list object>, global getdata = <function getdata>, ','.join undefined, chunk = ['3QP85BYlIHubLw2OshivDQ', '7EnPIV1jGiy0Tp6hotpMaV', '1Pe0blL6GGUF1OiM0MrdDD', '5eGrZfYG1iDkhTU4SYoExo', '5kqvLWOITMbvKILs2eTeq0', '0Pfib9jMnaivaiPc5PJZMr', '67SXVBN5CaAoWHVcEp97P4', '4hq9v2i66FuRKaWiADAaWh', '3mT0rkEz245Rz0IhAZsFwV', '0ECdnKsd5NI5T9ZzxW2nbL', '52E1MXBb3cXIhmdwMz1OIr', '4s5M17HzQpD3ueJFIxF37Y', '4bAJOzRXWGUNziL6JPtQ7a', '3nctbaa5GxwuEKxPugZbeQ', '1a9hNxfM1RIiaJS7ZgDXEl', '56gxgs2GI9U3c9xxd6QwKL', '4yBDs8zwfJro91uqlAMpWL', '6KAfFjQqu8LNtmZpChK2Ti', '1yy7GBj2jOLAsGYptVTZlc', '1otMcmBKQY3cj1YICNh9qI']

TypeError: 'NoneType' object is not iterable
      args = ("'NoneType' object is not iterable",)
      with_traceback = <built-in method with_traceback of TypeError object>