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