Compare commits
No commits in common. "03ca480fe83db7273d0a0acd004003e4bbf5654d" and "8805c53cb89940f1604ed03234a9906ab2eaa0fc" have entirely different histories.
03ca480fe8
...
8805c53cb8
@ -114,9 +114,6 @@ public class Manganato : Connector
|
|||||||
|
|
||||||
string description = document.DocumentNode.Descendants("div").First(d => d.HasClass("panel-story-info-description"))
|
string description = document.DocumentNode.Descendants("div").First(d => d.HasClass("panel-story-info-description"))
|
||||||
.InnerText.Replace("Description :", "");
|
.InnerText.Replace("Description :", "");
|
||||||
|
|
||||||
while (description.StartsWith('\n'))
|
|
||||||
description = description.Substring(1);
|
|
||||||
|
|
||||||
|
|
||||||
return new Publication(sortName, author, description, altTitles, tags.ToArray(), posterUrl, coverFileNameInCache, links,
|
return new Publication(sortName, author, description, altTitles, tags.ToArray(), posterUrl, coverFileNameInCache, links,
|
||||||
|
@ -95,9 +95,9 @@ public readonly struct Publication
|
|||||||
{
|
{
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.year = year;
|
this.year = year;
|
||||||
if(status.ToLower() == "ongoing" || status.ToLower() == "hiatus")
|
if(status == "ongoing" || status == "hiatus")
|
||||||
this.status = "Continuing";
|
this.status = "Continuing";
|
||||||
else if (status.ToLower() == "completed" || status.ToLower() == "cancelled")
|
else if (status == "completed" || status == "cancelled")
|
||||||
this.status = "Ended";
|
this.status = "Ended";
|
||||||
else
|
else
|
||||||
this.status = status;
|
this.status = status;
|
||||||
|
Loading…
Reference in New Issue
Block a user