Plugins fixed (#903)

* test

* fast fix

* fix

* fix

* Update ranobelib.ts
This commit is contained in:
Rider21
2024-04-25 17:53:16 +03:00
committed by GitHub
parent 2c4490e5bd
commit 9bc558936d
24 changed files with 63683 additions and 62335 deletions
+3 -2
View File
@@ -14,7 +14,8 @@ class NovelBin implements Plugin.PluginBase {
loadedCheerio('.col-novel-main .list-novel .row').each((i, el) => {
const novelName = loadedCheerio(el).find('h3.novel-title > a').text();
const novelCover = loadedCheerio(el).find('img.cover')
const novelCover = loadedCheerio(el)
.find('img.cover')
.attr('data-src')
?.replace('_200_89', '');
const novelUrl = loadedCheerio(el)
@@ -146,7 +147,7 @@ class NovelBin implements Plugin.PluginBase {
return fetchFile(url, {
headers: {
'referrer': this.site,
}
},
});
}