This commit is contained in:
Hellow2
2023-05-03 15:16:01 +02:00
parent c4e1095dfc
commit fa7efbe2c8
2 changed files with 12 additions and 5 deletions

View File

@@ -1039,7 +1039,7 @@ class Musify(Page):
cls.LOGGER.warning(f"The source has no audio link. Falling back to {endpoint}.")
r = cls.CONNECTION.get(endpoint, stream=True, allow_redirects=True, headers={"Connection": "https://musify.club/"})
r = cls.CONNECTION.get(endpoint, stream=True, allow_redirects=True, headers={"Connection": "https://musify.club/"}, raw_url=True)
if r is None:
return DownloadResult(error_message=f"couldn't connect to {endpoint}")