Skip to content

Commit

Permalink
Merge branch 'cuttingedge-merge-ServerV2' into Server-V2
Browse files Browse the repository at this point in the history
C9Glax committed Dec 13, 2024
2 parents afcc2ca + e3bd762 commit 9d6a8ed
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Tranga/MangaConnectors/AsuraToon.cs
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ public class AsuraToon : MangaConnector

public AsuraToon(GlobalBase clone) : base(clone, "AsuraToon", ["en"], ["asuracomic.net"])
{
this.downloadClient = new HttpDownloadClient(clone);
this.downloadClient = new ChromiumDownloadClient(clone);
}

public override Manga[] GetManga(string publicationTitle = "")
2 changes: 2 additions & 0 deletions Tranga/MangaConnectors/ChromiumDownloadClient.cs
Original file line number Diff line number Diff line change
@@ -43,6 +43,8 @@ public Logger(Logging.Logger? logger) : base(logger) { }

public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
{
if (logLevel <= LogLevel.Information)
return;
logger?.WriteLine("Puppeteer", formatter.Invoke(state, exception));
}

0 comments on commit 9d6a8ed

Please sign in to comment.