Skip to content

Commit c3843f1

Browse files
authored
Use secure connection to MusicBrainz API (#2615)
1 parent e33465c commit c3843f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

music_assistant/providers/musicbrainz/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ async def get_artist_details_by_resource_url(
430430
@throttle_with_retries
431431
async def get_data(self, endpoint: str, **kwargs: str) -> Any:
432432
"""Get data from api."""
433-
url = f"http://musicbrainz.org/ws/2/{endpoint}"
433+
url = f"https://musicbrainz.org/ws/2/{endpoint}"
434434
headers = {
435435
"User-Agent": f"Music Assistant/{self.mass.version} (https://music-assistant.io)"
436436
}

0 commit comments

Comments
 (0)