Plugins fixed (#903)
* test * fast fix * fix * fix * Update ranobelib.ts
This commit is contained in:
@@ -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,
|
||||
}
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user