Skip to content

Commit

Permalink
🔊 Improve webtoon download logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Xen0Xys committed May 22, 2024
1 parent 9590013 commit 3812b4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/webtoon/webtoon/download-manager.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export class DownloadManagerService{
this.currentDownload = this.queue.dequeue();
if(!this.currentDownload)
return;
console.log(`Downloading ${this.currentDownload.title} (${this.currentDownload.language}).`);
if(!await this.webtoonDatabase.isWebtoonSaved(this.currentDownload.title, this.currentDownload.language)){
const webtoon: WebtoonModel = await this.webtoonParser.getWebtoonInfos(this.currentDownload);
const webtoonData: WebtoonDataModel = await this.webtoonDownloader.downloadWebtoon(webtoon);
Expand Down

0 comments on commit 3812b4c

Please sign in to comment.