diff --git a/Tranga/Jobs/DownloadChapter.cs b/Tranga/Jobs/DownloadChapter.cs index 357e7ba..6ede691 100644 --- a/Tranga/Jobs/DownloadChapter.cs +++ b/Tranga/Jobs/DownloadChapter.cs @@ -19,7 +19,7 @@ public class DownloadChapter : Job protected override string GetId() { - return Convert.ToBase64String(Encoding.ASCII.GetBytes(string.Concat(this.GetType().ToString(), chapter.parentManga.internalId, chapter.chapterNumber))); + return $"{GetType()}-{chapter.parentManga.internalId}-{chapter.chapterNumber}"; } public override string ToString() diff --git a/Tranga/Jobs/DownloadNewChapters.cs b/Tranga/Jobs/DownloadNewChapters.cs index b41746d..b00e53d 100644 --- a/Tranga/Jobs/DownloadNewChapters.cs +++ b/Tranga/Jobs/DownloadNewChapters.cs @@ -21,7 +21,7 @@ public class DownloadNewChapters : Job protected override string GetId() { - return Convert.ToBase64String(Encoding.ASCII.GetBytes(string.Concat(this.GetType().ToString(), manga.internalId))); + return $"{GetType()}-{manga.internalId}"; } public override string ToString()