From 6ac49f43ffab68e4bf9093f9e1d3c013bd428e96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=E1=BA=A3i=20Ph=E1=BA=A1m?= Date: Mon, 4 Sep 2023 17:41:50 +0700 Subject: [PATCH] WIP: update blogtruyen --- src/BlogTruyen/BlogTruyenParser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BlogTruyen/BlogTruyenParser.ts b/src/BlogTruyen/BlogTruyenParser.ts index 900eb43..efd9e43 100644 --- a/src/BlogTruyen/BlogTruyenParser.ts +++ b/src/BlogTruyen/BlogTruyenParser.ts @@ -67,7 +67,7 @@ export class BlogTruyenParser extends DefaultParser { return { id: $doc('a', $el).attr('href'), chapNum: Number(chapNum), - name: $doc('a', $el)?.text()?.trim(), + name: this.decodeString($doc('.entry-title a', $el)?.text()?.trim()), time: this.convertTime($doc('.publishedDate', $el).text(), 'DD/MM/YYYY hh:mm'), sortingIndex: index, } as Chapter