diff --git a/discodo/source/AudioData.py b/discodo/source/AudioData.py index 5e775702..028f1d42 100644 --- a/discodo/source/AudioData.py +++ b/discodo/source/AudioData.py @@ -1,3 +1,4 @@ +import yarl import aiohttp import youtube_dl @@ -103,7 +104,8 @@ async def source( if not self._source: async with aiohttp.ClientSession() as session: - async with session.get(self.stream_url) as resp: + URL = yarl.URL(self.stream_url, encoded=True) + async with session.get(URL) as resp: Status = resp.status if Status == 403: