mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 22:56:25 +00:00
commit
bbe942fc27
@ -104,7 +104,7 @@ namespace SpotifyAPI.SpotifyLocalAPI
|
||||
string[] lines = raw.Split(new string[] { "\n" }, StringSplitOptions.None);
|
||||
foreach (string line in lines)
|
||||
{
|
||||
if (line.StartsWith("<meta property=\"og:image\""))
|
||||
if (line.Trim().StartsWith("<meta property=\"og:image\""))
|
||||
{
|
||||
string[] l = line.Split(new string[] { "/" }, StringSplitOptions.None);
|
||||
return "http://o.scdn.co/" + albumsize + @"/" + l[4].Replace("\"", "").Replace(">", "");
|
||||
|
Loading…
Reference in New Issue
Block a user