mirror of
https://github.com/C9Glax/tranga.git
synced 2025-02-23 15:50:13 +01:00
Addresses #170 Manganato authors and genres include "\r\n"
This commit is contained in:
parent
5bdbd9e2e4
commit
c69f1f6569
@ -98,6 +98,8 @@ public class Manganato : MangaConnector
|
|||||||
break;
|
break;
|
||||||
case "authors":
|
case "authors":
|
||||||
authors = value.Split('-');
|
authors = value.Split('-');
|
||||||
|
for (int i = 0; i < authors.Length; i++)
|
||||||
|
authors[i] = authors[i].Replace("\r\n", "");
|
||||||
break;
|
break;
|
||||||
case "status":
|
case "status":
|
||||||
switch (value.ToLower())
|
switch (value.ToLower())
|
||||||
@ -108,6 +110,8 @@ public class Manganato : MangaConnector
|
|||||||
break;
|
break;
|
||||||
case "genres":
|
case "genres":
|
||||||
string[] genres = value.Split(" - ");
|
string[] genres = value.Split(" - ");
|
||||||
|
for (int i = 0; i < genres.Length; i++)
|
||||||
|
genres[i] = genres[i].Replace("\r\n", "");
|
||||||
tags = genres.ToHashSet();
|
tags = genres.ToHashSet();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user