Update share link subdomain

Deezer decided to change share domain...
This commit is contained in:
DJDoubleD
2025-02-28 19:48:38 +01:00
committed by GitHub
parent ccd8957400
commit aecf24288c

View File

@@ -158,7 +158,7 @@ class DeezerAPI {
return DeezerLinkResponse(type: type, id: uri.pathSegments[uri.pathSegments.length - 1]);
}
//Share URL
if (uri.host == 'deezer.page.link' || uri.host == 'www.deezer.page.link') {
if (uri.host == 'dzr.page.link' || uri.host == 'www.dzr.page.link') {
http.BaseRequest request = http.Request('HEAD', Uri.parse(url));
request.followRedirects = false;
http.StreamedResponse response = await request.send();