remove this.cookieString attribute

This commit is contained in:
Nyagami
2024-01-14 22:26:34 +07:00
parent 8e3909c1d2
commit f4734f2dda
106 changed files with 11421 additions and 11695 deletions
+1 -2
View File
@@ -9,7 +9,7 @@ class ChireadsPlugin implements Plugin.PluginBase {
site: string;
version: string;
userAgent: string;
cookieString: string;
constructor() {
this.id = "chireads.com";
this.name = "Chireads";
@@ -17,7 +17,6 @@ class ChireadsPlugin implements Plugin.PluginBase {
this.site = "https://chireads.com";
this.version = "1.0.0";
this.userAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36";
this.cookieString = "''";
}
parseNovels(loadedCheerio: CheerioAPI) {
return [];
+1 -2
View File
@@ -10,7 +10,7 @@ class NovelDeGlacePlugin implements Plugin.PluginBase{
site: string;
version: string;
userAgent: string;
cookieString: string;
constructor() {
this.id = "NDG.com";
this.name = "NovelDeGlace";
@@ -18,7 +18,6 @@ class NovelDeGlacePlugin implements Plugin.PluginBase{
this.site = "https://noveldeglace.com/";
this.version = "1.0.0";
this.userAgent = "''";
this.cookieString = "''";
}
async popularNovels(page: number): Promise<Plugin.NovelItem[]> {