nathom / streamrip

A scriptable music downloader for Qobuz, Tidal, SoundCloud, and Deezer
GNU General Public License v3.0
2.56k stars 220 forks source link

[BUG] ClientConnectorCertificateError #300

Closed tellierflexus closed 2 years ago

tellierflexus commented 2 years ago

Describe the bug

Hello, When trying to download music from soundcloud (https://soundcloud.com/pommeofficial/ceux-qui-revent) I'm getting this error :

Capture d’écran 2022-02-12 à 00 42 05

Command Used

rip url https://soundcloud.com/pommeofficial/ceux-qui-revent

Debug Traceback

DEBUG:streamrip:Config loaded
DEBUG:streamrip:client_id: 0vyDB4rxVEprGutWT0xQ2VZhYpVZxku4, app_version: 1644396136
DEBUG:streamrip:Fetching url https://api-v2.soundcloud.com/announcements with params {'client_id': '0vyDB4rxVEprGutWT0xQ2VZhYpVZxku4', 'app_version': '1644396136', 'app_locale': 'en'}
DEBUG:streamrip:Fetching url https://api-v2.soundcloud.com/resolve?url=https://soundcloud.com/pommeofficial/ceux-qui-revent with params {'client_id': '0vyDB4rxVEprGutWT0xQ2VZhYpVZxku4', 'app_version': '1644396136', 'app_locale': 'en'}
DEBUG:streamrip:{'artwork_url': 'https://i1.sndcdn.com/artworks-7RmmGOZwY64D-0-large.jpg',
 'caption': None,
 'comment_count': 3,
 'commentable': True,
 'created_at': '2017-09-15T23:15:25Z',
 'description': None,
 'display_date': '2017-10-06T00:00:00Z',
 'download_count': 0,
 'downloadable': False,
 'duration': 30000,
 'embeddable_by': 'all',
 'full_duration': 118450,
 'genre': 'French Pop',
 'has_downloads_left': False,
 'id': 342559208,
 'kind': 'track',
 'label_name': None,
 'last_modified': '2022-02-02T19:01:09Z',
 'license': 'all-rights-reserved',
 'likes_count': 272,
 'media': {'transcodings': [{'duration': 30000,
                             'format': {'mime_type': 'audio/mpeg',
                                        'protocol': 'hls'},
                             'preset': 'mp3_0_0',
                             'quality': 'sq',
                             'snipped': True,
                             'url': 'https://api-v2.soundcloud.com/media/soundcloud:tracks:342559208/4b7eeb5f-af30-4ed0-81d9-433e1188b629/preview/hls'},
                            {'duration': 30000,
                             'format': {'mime_type': 'audio/mpeg',
                                        'protocol': 'progressive'},
                             'preset': 'mp3_0_0',
                             'quality': 'sq',
                             'snipped': True,
                             'url': 'https://api-v2.soundcloud.com/media/soundcloud:tracks:342559208/4b7eeb5f-af30-4ed0-81d9-433e1188b629/preview/progressive'}]},
 'monetization_model': 'SUB_HIGH_TIER',
 'permalink': 'ceux-qui-revent',
 'permalink_url': 'https://soundcloud.com/pommeofficial/ceux-qui-revent',
 'playback_count': 13014,
 'policy': 'SNIP',
 'public': True,
 'publisher_metadata': {'album_title': 'À peu près',
                        'artist': 'Pomme',
                        'c_line': '© 2017 Polydor (France)',
                        'c_line_for_display': '© 2017 Polydor (France)',
                        'contains_music': True,
                        'explicit': False,
                        'id': 342559208,
                        'isrc': 'FRUM71700924',
                        'p_line': 'PremièreL; ℗ 2017 Polydor (France)',
                        'p_line_for_display': '℗ PremièreL; ℗ 2017 Polydor '
                                              '(France)',
                        'release_title': 'Ceux qui rêvent',
                        'upc_or_ean': '00602557792195',
                        'urn': 'soundcloud:tracks:342559208'},
 'purchase_title': None,
 'purchase_url': None,
 'release_date': '2017-10-06T00:00:00Z',
 'reposts_count': 11,
 'secret_token': None,
 'sharing': 'public',
 'state': 'finished',
 'station_permalink': 'track-stations:342559208',
 'station_urn': 'soundcloud:system-playlists:track-stations:342559208',
 'streamable': True,
 'tag_list': '',
 'title': 'Ceux qui rêvent',
 'track_authorization': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJnZW8iOiJGUiIsInN1YiI6IiIsInJpZCI6ImEyODlmNWEzLTc1ODYtNGM2Mi1iNzc0LWU4ZmExYTI3MGRjMSIsImlhdCI6MTY0NDYyMjk3MH0.Q9NV6WGGwbiigHfMzRcsD2xIIcIG5lVcJtM7lcdr228',
 'track_format': 'single-track',
 'uri': 'https://api.soundcloud.com/tracks/342559208',
 'urn': 'soundcloud:tracks:342559208',
 'user': {'avatar_url': 'https://a1.sndcdn.com/images/default_avatar_large.png',
          'badges': {'pro': False, 'pro_unlimited': False, 'verified': False},
          'city': None,
          'comments_count': 0,
          'country_code': None,
          'created_at': '2016-06-16T14:20:23Z',
          'creator_subscription': {'product': {'id': 'free'}},
          'creator_subscriptions': [{'product': {'id': 'free'}}],
          'description': None,
          'first_name': '',
          'followers_count': 2359,
          'followings_count': 0,
          'full_name': '',
          'groups_count': 0,
          'id': 234019308,
          'kind': 'user',
          'last_modified': '2016-06-16T14:20:23Z',
          'last_name': '',
          'likes_count': 0,
          'permalink': 'pommeofficial',
          'permalink_url': 'https://soundcloud.com/pommeofficial',
          'playlist_count': 6,
          'playlist_likes_count': 0,
          'reposts_count': None,
          'station_permalink': 'artist-stations:234019308',
          'station_urn': 'soundcloud:system-playlists:artist-stations:234019308',
          'track_count': 56,
          'uri': 'https://api.soundcloud.com/users/234019308',
          'urn': 'soundcloud:users:234019308',
          'username': 'Pomme',
          'verified': False,
          'visuals': None},
 'user_id': 234019308,
 'visuals': None,
 'waveform_url': 'https://wave.sndcdn.com/bLqsQVfMUvAJ_m.json'}
DEBUG:streamrip:Parsed urls: [('soundcloud', 'track', '342559208')]
DEBUG:streamrip:Searching for {'id': '342559208'} in database
DEBUG:streamrip:Executing SELECT EXISTS(SELECT 1 FROM downloads WHERE id=?)
DEBUG:streamrip:{'id': '342559208'}
DEBUG:streamrip:{'downloads': {'folder': '/Users/alexandre/StreamripDownloads', 'source_subdirectories': False, 'concurrency': {'enabled': True, 'max_connections': 3}}, 'qobuz': {'quality': 3, 'download_booklets': True, 'email': '', 'password': 'd41d8cd98f00b204e9800998ecf8427e', 'app_id': '', 'secrets': []}, 'tidal': {'quality': 3, 'download_videos': True, 'user_id': '', 'country_code': '', 'access_token': '', 'refresh_token': '', 'token_expiry': ''}, 'deezer': {'quality': 2, 'arl': '', 'use_deezloader': True, 'deezloader_warnings': True}, 'soundcloud': {'quality': 0, 'client_id': '0vyDB4rxVEprGutWT0xQ2VZhYpVZxku4', 'app_version': '1644396136'}, 'youtube': {'quality': 0, 'download_videos': False, 'video_downloads_folder': ''}, 'database': {'downloads': {'enabled': True, 'path': '/Users/alexandre/Library/Application Support/streamrip/downloads.db'}, 'failed_downloads': {'enabled': True, 'path': '/Users/alexandre/Library/Application Support/streamrip/failed_downloads.db'}}, 'conversion': {'enabled': False, 'codec': 'ALAC', 'sampling_rate': 48000, 'bit_depth': 24, 'lossy_bitrate': 320}, 'filters': {'extras': False, 'repeats': False, 'non_albums': False, 'features': False, 'non_studio_albums': False, 'non_remaster': False}, 'artwork': {'embed': True, 'size': 'large', 'max_width': -1, 'max_height': -1, 'keep_hires_cover': True}, 'metadata': {'set_playlist_to_album': True, 'new_playlist_tracknumbers': True, 'exclude': []}, 'filepaths': {'add_singles_to_folder': False, 'folder_format': '{albumartist} - {title} ({year}) [{container}] [{bit_depth}B-{sampling_rate}kHz]', 'track_format': '{tracknumber}. {artist} - {title}{explicit}', 'restrict_characters': False}, 'lastfm': {'source': 'qobuz', 'fallback_source': 'deezer'}, 'theme': {'progress_bar': 'dainty'}, 'misc': {'version': '1.9.2'}}
DEBUG:streamrip:Arguments from config: {'restrict_filenames': False, 'parent_folder': '/Users/alexandre/StreamripDownloads', 'folder_format': '{albumartist} - {title} ({year}) [{container}] [{bit_depth}B-{sampling_rate}kHz]', 'track_format': '{tracknumber}. {artist} - {title}{explicit}', 'embed_cover': True, 'embed_cover_size': 'large', 'keep_hires_cover': True, 'set_playlist_to_album': True, 'stay_temp': False, 'conversion': {'enabled': False, 'codec': 'ALAC', 'sampling_rate': 48000, 'bit_depth': 24, 'lossy_bitrate': 320}, 'concurrent_downloads': True, 'max_connections': 3, 'new_tracknumbers': True, 'download_videos': True, 'download_booklets': True, 'download_youtube_videos': False, 'youtube_video_downloads_folder': '', 'add_singles_to_folder': False, 'max_artwork_width': -1, 'max_artwork_height': -1, 'exclude_tags': []}
DEBUG:streamrip:Loading metadata
DEBUG:streamrip:Fetching url https://api-v2.soundcloud.com/tracks/342559208 with params {'client_id': '0vyDB4rxVEprGutWT0xQ2VZhYpVZxku4', 'app_version': '1644396136', 'app_locale': 'en'}
DEBUG:streamrip:{'artwork_url': 'https://i1.sndcdn.com/artworks-7RmmGOZwY64D-0-large.jpg', 'caption': None, 'commentable': True, 'comment_count': 3, 'created_at': '2017-09-15T23:15:25Z', 'description': None, 'downloadable': False, 'download_count': 0, 'duration': 30000, 'full_duration': 118450, 'embeddable_by': 'all', 'genre': 'French Pop', 'has_downloads_left': False, 'id': 342559208, 'kind': 'track', 'label_name': None, 'last_modified': '2022-02-02T19:01:09Z', 'license': 'all-rights-reserved', 'likes_count': 272, 'permalink': 'ceux-qui-revent', 'permalink_url': 'https://soundcloud.com/pommeofficial/ceux-qui-revent', 'playback_count': 13014, 'public': True, 'publisher_metadata': {'id': 342559208, 'urn': 'soundcloud:tracks:342559208', 'artist': 'Pomme', 'album_title': 'À peu près', 'contains_music': True, 'upc_or_ean': '00602557792195', 'isrc': 'FRUM71700924', 'explicit': False, 'p_line': 'PremièreL; ℗ 2017 Polydor (France)', 'p_line_for_display': '℗ PremièreL; ℗ 2017 Polydor (France)', 'c_line': '© 2017 Polydor (France)', 'c_line_for_display': '© 2017 Polydor (France)', 'release_title': 'Ceux qui rêvent'}, 'purchase_title': None, 'purchase_url': None, 'release_date': '2017-10-06T00:00:00Z', 'reposts_count': 11, 'secret_token': None, 'sharing': 'public', 'state': 'finished', 'streamable': True, 'tag_list': '', 'title': 'Ceux qui rêvent', 'track_format': 'single-track', 'uri': 'https://api.soundcloud.com/tracks/342559208', 'urn': 'soundcloud:tracks:342559208', 'user_id': 234019308, 'visuals': None, 'waveform_url': 'https://wave.sndcdn.com/bLqsQVfMUvAJ_m.json', 'display_date': '2017-10-06T00:00:00Z', 'media': {'transcodings': [{'url': 'https://api-v2.soundcloud.com/media/soundcloud:tracks:342559208/4b7eeb5f-af30-4ed0-81d9-433e1188b629/preview/hls', 'preset': 'mp3_0_0', 'duration': 30000, 'snipped': True, 'format': {'protocol': 'hls', 'mime_type': 'audio/mpeg'}, 'quality': 'sq'}, {'url': 'https://api-v2.soundcloud.com/media/soundcloud:tracks:342559208/4b7eeb5f-af30-4ed0-81d9-433e1188b629/preview/progressive', 'preset': 'mp3_0_0', 'duration': 30000, 'snipped': True, 'format': {'protocol': 'progressive', 'mime_type': 'audio/mpeg'}, 'quality': 'sq'}]}, 'station_urn': 'soundcloud:system-playlists:track-stations:342559208', 'station_permalink': 'track-stations:342559208', 'track_authorization': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJnZW8iOiJGUiIsInN1YiI6IiIsInJpZCI6ImEyODlmNWEzLTc1ODYtNGM2Mi1iNzc0LWU4ZmExYTI3MGRjMSIsImlhdCI6MTY0NDYyMjk3MH0.Q9NV6WGGwbiigHfMzRcsD2xIIcIG5lVcJtM7lcdr228', 'monetization_model': 'SUB_HIGH_TIER', 'policy': 'SNIP', 'user': {'avatar_url': 'https://a1.sndcdn.com/images/default_avatar_large.png', 'first_name': '', 'followers_count': 2359, 'full_name': '', 'id': 234019308, 'kind': 'user', 'last_modified': '2016-06-16T14:20:23Z', 'last_name': '', 'permalink': 'pommeofficial', 'permalink_url': 'https://soundcloud.com/pommeofficial', 'uri': 'https://api.soundcloud.com/users/234019308', 'urn': 'soundcloud:users:234019308', 'username': 'Pomme', 'verified': False, 'city': None, 'country_code': None, 'badges': {'pro': False, 'pro_unlimited': False, 'verified': False}, 'station_urn': 'soundcloud:system-playlists:artist-stations:234019308', 'station_permalink': 'artist-stations:234019308'}}
DEBUG:streamrip:Track meta formatter {'tracknumber': 0, 'artist': 'Pomme', 'albumartist': 'Pomme', 'composer': None, 'title': 'Ceux qui rêvent', 'albumcomposer': None, 'explicit': False}
DEBUG:streamrip:Formatter keys: {tracknumber}. {artist} - {title}{explicit}
DEBUG:streamrip:'tracknumber'
DEBUG:streamrip:0
DEBUG:streamrip:2
DEBUG:streamrip:'artist'
DEBUG:streamrip:Pomme
DEBUG:streamrip:1
DEBUG:streamrip:'title'
DEBUG:streamrip:Ceux qui rêvent
DEBUG:streamrip:1
DEBUG:streamrip:'explicit'
DEBUG:streamrip:False
DEBUG:streamrip:3
DEBUG:streamrip:Formatted path: /Users/alexandre/StreamripDownloads/00. Pomme - Ceux qui rêvent.mp3
DEBUG:streamrip:Downloading cover from https://i1.sndcdn.com/artworks-7RmmGOZwY64D-0-t500x500.jpg
Cover |                                                                                                                                                                                      | 00:00 left at 20.3MB/s 
DEBUG:streamrip:Fetching url https://api-v2.soundcloud.com/media/soundcloud:tracks:342559208/4b7eeb5f-af30-4ed0-81d9-433e1188b629/preview/hls with params {'client_id': '0vyDB4rxVEprGutWT0xQ2VZhYpVZxku4', 'app_version': '1644396136', 'app_locale': 'en'}
DEBUG:streamrip:dl_info: {'url': 'https://cf-hls-media.sndcdn.com/playlist/0/30/bLqsQVfMUvAJ.128.mp3/playlist.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLWhscy1tZWRpYS5zbmRjZG4uY29tL3BsYXlsaXN0LzAvMzAvYkxxc1FWZk1VdkFKLjEyOC5tcDMvcGxheWxpc3QubTN1OCoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2NDQ2MjMyMDl9fX1dfQ__&Signature=Q2d0yUVinyinoK6kMntdLSU6pGTx45~f8-b2c5o3xCdpQtTSdsVGwSLkaDHyfRFcYCaaXrQ9tCwm5LOfkFcq-QQ27gZuE5sBBsr9-o0H1pZuDxjiIQli29-sG60xi-GqzoottPj74ouogpB0njrSxjoKwGdKAZ4VrTxczoozUR4AKMi6R9pObZGzCHdJYkl~uASaOMc7BlsLxx~FtsKXynZ~Yo4BCmdR-AZCivvUuWnKe7KMndTupAh0HKb2ElBHb4EGfvOPWQum79DIzzDBMzfRQhAEihYnhRk3BpznUe~CfEkeW4icD4sbn8KZStooWW-NsVABxmqch8ALX9ojAA__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ', 'type': 'mp3'}
Track 00 |                                                                                                                                                                                       | ? left at ?Chunk/s DEBUG:streamrip:Downloading https://cf-hls-media.sndcdn.com/media/0/31762/bLqsQVfMUvAJ.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLWhscy1tZWRpYS5zbmRjZG4uY29tL21lZGlhLzAvMzE3NjIvYkxxc1FWZk1VdkFKLjEyOC5tcDMiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2NDQ2MjMxMjB9fX1dfQ__&Signature=Oej5bFJC8j0UhaUPBpatOnGJtzGClUhWOrd3xWFVCSnmclF3kGjf3IlpDH5WB2x9c81-lJv3sOOka5LQbXC1SPVlE3LzmJXRMC‾FLEpmRGs2nwscrJmT817cPOHMiGYT-SxpI7N4uBS‾9qRrHifRPepCHDR5aPo2FcAKahK5nAme‾AxQSn0WnV4z2GKouzVHsOyUPnIIgw9vYetANo0vnZx2j3-OO9suiiZXLH2xboBlSetftSNUFrScDkreqrW24yEx7FnRg‾DgUuWMGg5ydJzwrF‾3IPm7-zuRUd4dmnaHvP6ngqf‾OKVyBe‾jMJy-s8sr1vC7HbEbnPlaTHEXrw__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ
DEBUG:streamrip:Downloading https://cf-hls-media.sndcdn.com/media/31763/79410/bLqsQVfMUvAJ.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLWhscy1tZWRpYS5zbmRjZG4uY29tL21lZGlhLzMxNzYzLzc5NDEwL2JMcXNRVmZNVXZBSi4xMjgubXAzIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjQ0NjIzMTIwfX19XX0_&Signature=Q8blPIdqUPGFjUJN3Z6JxLWURBUzBekUiqOWXEEEofgIlAwgUfuliIpN8qc6ex3-Kkc4c8othxBZbEtMeBB-E3iVmsPdpxMBnUKxUeC1HYIjbmgHWCwrv6mmVrq7Zyei2hGySubFp4G5S2iBTp2GSFfTLDBZKvBpOOMD-WEMxM3e1WqDug5DXEmcD8uy0JpVn‾BhrW0vfQ0DF8dTSYEClJQ9fHKL‾D6GgFrxMdRUx9c‾26q7‾z-bNDE2SPCRf18T7WqiXwSLETLn9ZwcLsV7V24DR8Q8W0Zrq-nwasj9gqFMfJ2VVywC‾JSdPSMp7ma-F‾3i1VTtViTY1E98Szx4uA__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ
DEBUG:streamrip:Downloading https://cf-hls-media.sndcdn.com/media/79411/159240/bLqsQVfMUvAJ.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLWhscy1tZWRpYS5zbmRjZG4uY29tL21lZGlhLzc5NDExLzE1OTI0MC9iTHFzUVZmTVV2QUouMTI4Lm1wMyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY0NDYyMzEyMH19fV19&Signature=OY0-RgvNf-s‾3HVbLrfqYYs7IlHq9cz-ubaz7UlW7j7gocXLcMzmRMvBILD5CkYgJ8k3ntTpaqLVZbK30teEACfwFfyGCd5972k8MDtX3uyRDtyF3XkqsVsucDquVI6CdN-EyI9r7UxdsiWH6QXgSRFxl4-Y0DzsVftFwE3kqn-cb-T5OvgM02YKTTS5xcFOlo-tIEf1xzs0YzUKLMzBRKYsrSLGuavNeOje‾-PLnDGbxVFMfX614SdmYc7Hm6BrI2YcjpohjJKF6fyCnu‾ihakMiBwE0YbfFBzhqDyj0jRsOeh8OAy-QFv8hhzhcpkN0pvd50zAns48BDvnlKfvRw__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ
DEBUG:streamrip:Downloading https://cf-hls-media.sndcdn.com/media/159241/318900/bLqsQVfMUvAJ.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLWhscy1tZWRpYS5zbmRjZG4uY29tL21lZGlhLzE1OTI0MS8zMTg5MDAvYkxxc1FWZk1VdkFKLjEyOC5tcDMiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2NDQ2MjMxMjB9fX1dfQ__&Signature=akfQO65FLCa6SeJ6uY5UVw51QCfzjf3VnZKBcrUjThzpTi8TzTFOVYArsKypB‾l-m15Vpp‾ftuhSIrA13uDWmt-‾ZlccXbXHTR8-xo67bPxtaGZ2QJMGkxGucocgBjT1K0G-RLDnf8R7aUxLwaeH1jpUmP9K3ecsTxUqkKk73S0Mggrl41qgKV75fCb2kSueoQlFIk24MCAcAp‾ZfNdY8VZZQtVGB6BHBAiA9md8VyjBRrgXDf08QM7ckUEYN‾avxFJU5d-Lh3ELp6hZPJ9iFWciqhIbF5‾zAl3yVM9HLsF9‾mBAlUDM8MASueiMQtfjfIJiWHzbCou7qUbziBR1yg__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ
DEBUG:streamrip:Downloading https://cf-hls-media.sndcdn.com/media/318901/478561/bLqsQVfMUvAJ.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLWhscy1tZWRpYS5zbmRjZG4uY29tL21lZGlhLzMxODkwMS80Nzg1NjEvYkxxc1FWZk1VdkFKLjEyOC5tcDMiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2NDQ2MjMxMjB9fX1dfQ__&Signature=J14lp6YGZdrvYc9lEfjKcC6EYdxpeSFvQWZzJYVR0Fhyz67V5IwHOrsetZAQcSh-1fFSMdF5xILI4NYWxa7OOZjZBO4df8LE1qqoZbMJc13BsIDwimQPUrZQtj‾1vk9wPB2UAhvq1I9dpw5jlT‾-M0acBUpSTbj2-qZcU7xeSIKYKXmQ-ijfqbtHX‾-5JOwPJhcPOpsyvf8M6Meg125ol6pg31oUa‾ek9dSKr9vqzTTypV5-AYMxKWYNJQa6bo‾0bzh-cnRC-w-cKYwqJj‾NTREgaoGpQ5uMPtYUHccirvZdjhZYrWAa‾Rb7bfWFgBOzSng2V‾-CINuXO63dUOCniA__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ
DEBUG:streamrip:Removing tempfiles {'https://cf-hls-media.sndcdn.com/media/0/31762/bLqsQVfMUvAJ.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLWhscy1tZWRpYS5zbmRjZG4uY29tL21lZGlhLzAvMzE3NjIvYkxxc1FWZk1VdkFKLjEyOC5tcDMiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2NDQ2MjMxMjB9fX1dfQ__&Signature=Oej5bFJC8j0UhaUPBpatOnGJtzGClUhWOrd3xWFVCSnmclF3kGjf3IlpDH5WB2x9c81-lJv3sOOka5LQbXC1SPVlE3LzmJXRMC‾FLEpmRGs2nwscrJmT817cPOHMiGYT-SxpI7N4uBS‾9qRrHifRPepCHDR5aPo2FcAKahK5nAme‾AxQSn0WnV4z2GKouzVHsOyUPnIIgw9vYetANo0vnZx2j3-OO9suiiZXLH2xboBlSetftSNUFrScDkreqrW24yEx7FnRg‾DgUuWMGg5ydJzwrF‾3IPm7-zuRUd4dmnaHvP6ngqf‾OKVyBe‾jMJy-s8sr1vC7HbEbnPlaTHEXrw__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ': '/var/folders/2y/04m19rj14ws_h7w3w_rcr2l80000gn/T/__streamrip_partial_5959064768941741178', 'https://cf-hls-media.sndcdn.com/media/31763/79410/bLqsQVfMUvAJ.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLWhscy1tZWRpYS5zbmRjZG4uY29tL21lZGlhLzMxNzYzLzc5NDEwL2JMcXNRVmZNVXZBSi4xMjgubXAzIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjQ0NjIzMTIwfX19XX0_&Signature=Q8blPIdqUPGFjUJN3Z6JxLWURBUzBekUiqOWXEEEofgIlAwgUfuliIpN8qc6ex3-Kkc4c8othxBZbEtMeBB-E3iVmsPdpxMBnUKxUeC1HYIjbmgHWCwrv6mmVrq7Zyei2hGySubFp4G5S2iBTp2GSFfTLDBZKvBpOOMD-WEMxM3e1WqDug5DXEmcD8uy0JpVn‾BhrW0vfQ0DF8dTSYEClJQ9fHKL‾D6GgFrxMdRUx9c‾26q7‾z-bNDE2SPCRf18T7WqiXwSLETLn9ZwcLsV7V24DR8Q8W0Zrq-nwasj9gqFMfJ2VVywC‾JSdPSMp7ma-F‾3i1VTtViTY1E98Szx4uA__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ': '/var/folders/2y/04m19rj14ws_h7w3w_rcr2l80000gn/T/__streamrip_partial_371291936082838048', 'https://cf-hls-media.sndcdn.com/media/79411/159240/bLqsQVfMUvAJ.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLWhscy1tZWRpYS5zbmRjZG4uY29tL21lZGlhLzc5NDExLzE1OTI0MC9iTHFzUVZmTVV2QUouMTI4Lm1wMyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY0NDYyMzEyMH19fV19&Signature=OY0-RgvNf-s‾3HVbLrfqYYs7IlHq9cz-ubaz7UlW7j7gocXLcMzmRMvBILD5CkYgJ8k3ntTpaqLVZbK30teEACfwFfyGCd5972k8MDtX3uyRDtyF3XkqsVsucDquVI6CdN-EyI9r7UxdsiWH6QXgSRFxl4-Y0DzsVftFwE3kqn-cb-T5OvgM02YKTTS5xcFOlo-tIEf1xzs0YzUKLMzBRKYsrSLGuavNeOje‾-PLnDGbxVFMfX614SdmYc7Hm6BrI2YcjpohjJKF6fyCnu‾ihakMiBwE0YbfFBzhqDyj0jRsOeh8OAy-QFv8hhzhcpkN0pvd50zAns48BDvnlKfvRw__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ': '/var/folders/2y/04m19rj14ws_h7w3w_rcr2l80000gn/T/__streamrip_partial_2507898594995112338', 'https://cf-hls-media.sndcdn.com/media/159241/318900/bLqsQVfMUvAJ.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLWhscy1tZWRpYS5zbmRjZG4uY29tL21lZGlhLzE1OTI0MS8zMTg5MDAvYkxxc1FWZk1VdkFKLjEyOC5tcDMiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2NDQ2MjMxMjB9fX1dfQ__&Signature=akfQO65FLCa6SeJ6uY5UVw51QCfzjf3VnZKBcrUjThzpTi8TzTFOVYArsKypB‾l-m15Vpp‾ftuhSIrA13uDWmt-‾ZlccXbXHTR8-xo67bPxtaGZ2QJMGkxGucocgBjT1K0G-RLDnf8R7aUxLwaeH1jpUmP9K3ecsTxUqkKk73S0Mggrl41qgKV75fCb2kSueoQlFIk24MCAcAp‾ZfNdY8VZZQtVGB6BHBAiA9md8VyjBRrgXDf08QM7ckUEYN‾avxFJU5d-Lh3ELp6hZPJ9iFWciqhIbF5‾zAl3yVM9HLsF9‾mBAlUDM8MASueiMQtfjfIJiWHzbCou7qUbziBR1yg__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ': '/var/folders/2y/04m19rj14ws_h7w3w_rcr2l80000gn/T/__streamrip_partial_9055649125591204046', 'https://cf-hls-media.sndcdn.com/media/318901/478561/bLqsQVfMUvAJ.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLWhscy1tZWRpYS5zbmRjZG4uY29tL21lZGlhLzMxODkwMS80Nzg1NjEvYkxxc1FWZk1VdkFKLjEyOC5tcDMiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2NDQ2MjMxMjB9fX1dfQ__&Signature=J14lp6YGZdrvYc9lEfjKcC6EYdxpeSFvQWZzJYVR0Fhyz67V5IwHOrsetZAQcSh-1fFSMdF5xILI4NYWxa7OOZjZBO4df8LE1qqoZbMJc13BsIDwimQPUrZQtj‾1vk9wPB2UAhvq1I9dpw5jlT‾-M0acBUpSTbj2-qZcU7xeSIKYKXmQ-ijfqbtHX‾-5JOwPJhcPOpsyvf8M6Meg125ol6pg31oUa‾ek9dSKr9vqzTTypV5-AYMxKWYNJQa6bo‾0bzh-cnRC-w-cKYwqJj‾NTREgaoGpQ5uMPtYUHccirvZdjhZYrWAa‾Rb7bfWFgBOzSng2V‾-CINuXO63dUOCniA__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ': '/var/folders/2y/04m19rj14ws_h7w3w_rcr2l80000gn/T/__streamrip_partial_2632579930454442449'}

  Stack trace:

  5  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/aiohttp/connector.py:986 in _wrap_create_connection
       984│         try:
       985│             async with ceil_timeout(timeout.sock_connect):
    →  986│                 return await self._loop.create_connection(*args, **kwargs)  # type: ignore[return-value]  # noqa
       987│         except cert_errors as exc:
       988│             raise ClientConnectorCertificateError(req.connection_key, exc) from exc

  4  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py:1081 in create_connection
      1079│                     f'A Stream Socket was expected, got {sock!r}')
      1080│ 
    → 1081│         transport, protocol = await self._create_connection_transport(
      1082│             sock, protocol_factory, ssl, server_hostname,
      1083│             ssl_handshake_timeout=ssl_handshake_timeout)

  3  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py:1111 in _create_connection_transport
      1109│ 
      1110│         try:
    → 1111│             await waiter
      1112│         except:
      1113│             transport.close()

  2  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/sslproto.py:528 in data_received
      526│ 
      527│         try:
    → 528│             ssldata, appdata = self._sslpipe.feed_ssldata(data)
      529│         except (SystemExit, KeyboardInterrupt):
      530│             raise

  1  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/sslproto.py:188 in feed_ssldata
      186│             if self._state == _DO_HANDSHAKE:
      187│                 # Call do_handshake() until it doesn't raise anymore.
    → 188│                 self._sslobj.do_handshake()
      189│                 self._state = _WRAPPED
      190│                 if self._handshake_cb:

  SSLCertVerificationError

  [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)

  at /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py:944 in do_handshake
       940│         return self._sslobj.pending()
       941│ 
       942│     def do_handshake(self):
       943│         """Start the SSL/TLS handshake."""
    →  944│         self._sslobj.do_handshake()
       945│ 
       946│     def unwrap(self):
       947│         """Start the SSL shutdown handshake."""
       948│         return self._sslobj.shutdown()

The following error occurred when trying to handle this error:

  Stack trace:

  21  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cleo/application.py:330 in run
       328│ 
       329│             try:
     → 330│                 exit_code = self._run(io)
       331│             except Exception as e:
       332│                 if not self._catch_exceptions:

  20  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/rip/cli.py:759 in _run
       757│             logger.addHandler(fh)
       758│ 
     → 759│         super()._run(io)
       760│ 
       761│     def create_io(self, input=None, output=None, error_output=None):

  19  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cleo/application.py:425 in _run
       423│                 io.set_input(ArgvInput(argv))
       424│ 
     → 425│         exit_code = self._run_command(command, io)
       426│         self._running_command = None
       427│ 

  18  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cleo/application.py:432 in _run_command
       430│     def _run_command(self, command: Command, io: IO) -> int:
       431│         if self._event_dispatcher is None:
     → 432│             return command.run(io)
       433│ 
       434│         # Bind before the console.command event,

  17  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cleo/commands/base_command.py:118 in run
       116│         io.input.validate()
       117│ 
     → 118│         status_code = self.execute(io)
       119│ 
       120│         if status_code is None:

  16  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cleo/commands/command.py:85 in execute
        83│ 
        84│         try:
     →  85│             return self.handle()
        86│         except KeyboardInterrupt:
        87│             return 1

  15  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/rip/cli.py:124 in handle
       122│ 
       123│         if len(core) > 0:
     → 124│             core.download()
       125│         elif not urls and path is None:
       126│             self.line("Must pass arguments. See rip url -h.")

  14  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/rip/core.py:313 in download
       311│ 
       312│             try:
     → 313│                 item.download(**arguments)
       314│                 for item_id in item.downloaded_ids:
       315│                     self.db.add([item_id])

  13  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/media.py:365 in download
        363│ 
        364│         elif self.client.source == "soundcloud":
     →  365│             self._soundcloud_download(dl_info)
        366│ 
        367│         else:

  12  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/media.py:452 in _soundcloud_download
        450│                     bar.update(1)
        451│ 
     →  452│                 pool.download(callback=update_tqdm_bar)
        453│                 subprocess.call(
        454│                     (

  11  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/downloadtools.py:200 in download
       198│     def download(self, callback=None):
       199│         self.callback = callback
     → 200│         asyncio.run(self._download_urls())
       201│ 
       202│     @property

  10  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/runners.py:44 in run
        42│         if debug is not None:
        43│             loop.set_debug(debug)
     →  44│         return loop.run_until_complete(main)
        45│     finally:
        46│         try:

   9  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py:642 in run_until_complete
        640│             raise RuntimeError('Event loop stopped before Future completed.')
        641│ 
     →  642│         return future.result()
        643│ 
        644│     def stop(self):

   8  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/downloadtools.py:181 in _download_urls
       179│                 for url in self.urls.values()
       180│             ]
     → 181│             await asyncio.gather(*tasks)
       182│ 
       183│     async def _download_url(self, session, url):

   7  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/downloadtools.py:186 in _download_url
       184│         filename = await self.getfn(url)
       185│         logger.debug("Downloading %s", url)
     → 186│         async with session.get(url) as response, aiofiles.open(filename, "wb") as f:
       187│             # without aiofiles     3.6632679780000004s
       188│             # with    aiofiles     2.504482839s

   6  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/aiohttp/client.py:1138 in __aenter__
       1136│ 
       1137│     async def __aenter__(self) -> _RetType:
     → 1138│         self._resp = await self._coro
       1139│         return self._resp
       1140│ 

   5  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/aiohttp/client.py:535 in _request
        533│                         async with ceil_timeout(real_timeout.connect):
        534│                             assert self._connector is not None
     →  535│                             conn = await self._connector.connect(
        536│                                 req, traces=traces, timeout=real_timeout
        537│                             )

   4  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/aiohttp/connector.py:542 in connect
        540│ 
        541│             try:
     →  542│                 proto = await self._create_connection(req, traces, timeout)
        543│                 if self._closed:
        544│                     proto.close()

   3  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/aiohttp/connector.py:907 in _create_connection
        905│             _, proto = await self._create_proxy_connection(req, traces, timeout)
        906│         else:
     →  907│             _, proto = await self._create_direct_connection(req, traces, timeout)
        908│ 
        909│         return proto

   2  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/aiohttp/connector.py:1206 in _create_direct_connection
       1204│         else:
       1205│             assert last_exc is not None
     → 1206│             raise last_exc
       1207│ 
       1208│     async def _create_proxy_connection(

   1  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/aiohttp/connector.py:1175 in _create_direct_connection
       1173│ 
       1174│             try:
     → 1175│                 transp, proto = await self._wrap_create_connection(
       1176│                     self._factory,
       1177│                     host,

  ClientConnectorCertificateError

  Cannot connect to host cf-hls-media.sndcdn.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)')]

  at /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/aiohttp/connector.py:988 in _wrap_create_connection
       984│         try:
       985│             async with ceil_timeout(timeout.sock_connect):
       986│                 return await self._loop.create_connection(*args, **kwargs)  # type: ignore[return-value]  # noqa
       987│         except cert_errors as exc:
    →  988│             raise ClientConnectorCertificateError(req.connection_key, exc) from exc
       989│         except ssl_errors as exc:
       990│             raise ClientConnectorSSLError(req.connection_key, exc) from exc
       991│         except OSError as exc:
       992│             raise client_error(req.connection_key, exc) from exc

If this was unexpected, please open a Bug Report at https://github.com/nathom/streamrip/issues/new/choose
Track 00 |          | ? left at ?Chunk/s

Config File

[downloads]
# Folder where tracks are downloaded to
folder = "/Users/alexandre/StreamripDownloads"
# Put Qobuz albums in a 'Qobuz' folder, Tidal albums in 'Tidal' etc.
source_subdirectories = false

[downloads.concurrency]
# Download (and convert) tracks all at once, instead of sequentially. 
# If you are converting the tracks, or have fast internet, this will 
# substantially improve processing speed.
enabled = true
# The maximum number of tracks to download at once
# If you have very fast internet, you will benefit from a higher value,
# A value that is too high for your bandwidth may cause slowdowns
max_connections = 3

[qobuz]
# 1: 320kbps MP3, 2: 16/44.1, 3: 24/<=96, 4: 24/>=96
quality = 3
# This will download booklet pdfs that are included with some albums
download_booklets = true

email = ""
# This is an md5 hash of the plaintext password
password = "d41d8cd98f00b204e9800998ecf8427e"
# Do not change
app_id = ""
# Do not change
secrets = []

[tidal]
# 0: 256kbps AAC, 1: 320kbps AAC, 2: 16/44.1 "HiFi" FLAC, 3: 24/44.1 "MQA" FLAC
quality = 3
# This will download videos included in Video Albums.
download_videos = true

# Do not change any of the fields below
user_id = ""
country_code = ""
access_token = ""
refresh_token = ""
# Tokens last 1 week after refresh. This is the Unix timestamp of the expiration
# time. If you haven't used streamrip in more than a week, you may have to log
# in again using `rip config --tidal`
token_expiry = ""

[deezer]
# 0, 1, or 2
# This only applies to paid Deezer subscriptions. Those using deezloader
# are automatically limited to quality = 1
quality = 2
# An authentication cookie that allows streamrip to use your Deezer account
# See https://github.com/nathom/streamrip/wiki/Finding-Your-Deezer-ARL-Cookie
# for instructions on how to find this
arl = ""
# This allows for free 320kbps MP3 downloads from Deezer
# If an arl is provided, deezloader is never used
use_deezloader = true
# This warns you when the paid deezer account is not logged in and rip falls
# back to deezloader, which is unreliable
deezloader_warnings = true

[soundcloud]
# Only 0 is available for now
quality = 0
# This changes periodically, so it needs to be updated
client_id = "0vyDB4rxVEprGutWT0xQ2VZhYpVZxku4"
app_version = "1644396136"

[youtube]
# Only 0 is available for now
quality = 0
# Download the video along with the audio
download_videos = false
# The path to download the videos to
video_downloads_folder = ""

# This stores a list of item IDs so that repeats are not downloaded.

[database.downloads]
enabled = true
path = "/Users/alexandre/Library/Application Support/streamrip/downloads.db"

# If a download fails, the item ID is stored here. Then, `rip repair` can be
# called to retry the downloads

[database.failed_downloads]
enabled = true
path = "/Users/alexandre/Library/Application Support/streamrip/failed_downloads.db"

# Convert tracks to a codec after downloading them.

[conversion]
enabled = false
# FLAC, ALAC, OPUS, MP3, VORBIS, or AAC
codec = "ALAC"
# In Hz. Tracks are downsampled if their sampling rate is greater than this. 
# Value of 48000 is recommended to maximize quality and minimize space
sampling_rate = 48000
# Only 16 and 24 are available. It is only applied when the bit depth is higher
# than this value.
bit_depth = 24
# Only applicable for lossy codecs
lossy_bitrate = 320

# Filter a Qobuz artist's discography. Set to 'true' to turn on a filter.

[filters]
# Remove Collectors Editions, live recordings, etc.
extras = false
# Picks the highest quality out of albums with identical titles.
repeats = false
# Remove EPs and Singles
non_albums = false
# Remove albums whose artist is not the one requested
features = false
# Skip non studio albums
non_studio_albums = false
# Only download remastered albums
non_remaster = false

[artwork]
# Write the image to the audio file
embed = true
# The size of the artwork to embed. Options: thumbnail, small, large, original.
# "original" images can be up to 30MB, and may fail embedding. 
# Using "large" is recommended.
size = "large"
# Both of these options limit the size of the embedded artwork. If their values
# are larger than the actual dimensions of the image, they will be ignored.
# If either value is -1, the image is left untouched.
max_width = -1
max_height = -1
# Save the cover image at the highest quality as a seperate jpg file
keep_hires_cover = true

[metadata]
# Sets the value of the 'ALBUM' field in the metadata to the playlist's name. 
# This is useful if your music library software organizes tracks based on album name.
set_playlist_to_album = true
# Replaces the original track's tracknumber with it's position in the playlist
new_playlist_tracknumbers = true
# The following metadata tags won't be applied
# See https://github.com/nathom/streamrip/wiki/Metadata-Tag-Names for more info
exclude = []

# Changes the folder and file names generated by streamrip.

[filepaths]
# Create folders for single tracks within the downloads directory using the folder_format
# template
add_singles_to_folder = false
# Available keys: "albumartist", "title", "year", "bit_depth", "sampling_rate",
# "container", "id", and "albumcomposer"
folder_format = "{albumartist} - {title} ({year}) [{container}] [{bit_depth}B-{sampling_rate}kHz]"
# Available keys: "tracknumber", "artist", "albumartist", "composer", "title",
# and "albumcomposer"
track_format = "{tracknumber}. {artist} - {title}{explicit}"
# Only allow printable ASCII characters in filenames.
restrict_characters = false

# Last.fm playlists are downloaded by searching for the titles of the tracks

[lastfm]
# The source on which to search for the tracks.
source = "qobuz"
# If no results were found with the primary source, the item is searched for 
# on this one.
fallback_source = "deezer"

[theme]
# Options: "dainty" or "plain"
progress_bar = "dainty"

[misc]
# Metadata to identify this config file. Do not change.
version = "1.9.2"

Operating System

Mac Os on M1 , 12.0.1

streamrip version

1.9.3

Screenshots and recordings

No response

Additional context

No response

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.