Compare commits

..

No commits in common. "48ab44c28dd6ed405dc029c01fe20103b4981368" and "a92eba2d14ff7b0ad67bb9cdde6645e7bd397a95" have entirely different histories.

2 changed files with 1 additions and 3 deletions

View File

@ -15,7 +15,7 @@ public class MangaKatana : MangaConnector
public override Manga[] GetManga(string publicationTitle = "") public override Manga[] GetManga(string publicationTitle = "")
{ {
Log($"Searching Publications. Term=\"{publicationTitle}\""); Log($"Searching Publications. Term=\"{publicationTitle}\"");
string sanitizedTitle = string.Join("%20", Regex.Matches(publicationTitle, "[A-z]*").Where(m => m.Value.Length > 0)).ToLower(); string sanitizedTitle = string.Join('_', Regex.Matches(publicationTitle, "[A-z]*").Where(m => m.Value.Length > 0)).ToLower();
string requestUrl = $"https://mangakatana.com/?search={sanitizedTitle}&search_by=book_name"; string requestUrl = $"https://mangakatana.com/?search={sanitizedTitle}&search_by=book_name";
RequestResult requestResult = RequestResult requestResult =
downloadClient.MakeRequest(requestUrl, RequestType.Default); downloadClient.MakeRequest(requestUrl, RequestType.Default);

View File

@ -35,7 +35,6 @@ public abstract class NotificationConnector : GlobalBase
SendNotificationInternal($"{ut} ({texts.Length})", string.Join('\n', texts)); SendNotificationInternal($"{ut} ({texts.Length})", string.Join('\n', texts));
} }
_notificationRequested = null; _notificationRequested = null;
_notifications.Clear();
} }
Thread.Sleep(100); Thread.Sleep(100);
} }
@ -62,7 +61,6 @@ public abstract class NotificationConnector : GlobalBase
SendNotificationInternal(ut, string.Join('\n', texts)); SendNotificationInternal(ut, string.Join('\n', texts));
} }
_notificationRequested = null; _notificationRequested = null;
_notifications.Clear();
} }
else if(_notificationRequested is not null) else if(_notificationRequested is not null)
{ {