mirror of
https://github.com/C9Glax/tranga.git
synced 2025-10-11 05:09:49 +02:00
Fix MangaPark imageUrls parsing
This commit is contained in:
@@ -231,8 +231,8 @@ public class MangaPark : MangaConnector
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
MatchCollection matchCollection = Matches(imageJson, @"https?:\/\/[\da-zA-Z\.]+\/[^,""]*\.[a-z]+");
|
MatchCollection matchCollection = Matches(imageJson, @"""https?:\/\/[\da-zA-Z\.]+\/[^,]*\.[a-z]+""");
|
||||||
return matchCollection.Select(m => m.Value).ToArray();
|
return matchCollection.Select(m => m.Value.Trim('"')).ToArray();
|
||||||
}
|
}
|
||||||
else return null;
|
else return null;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user