fix: remove user agent (#695)

This commit is contained in:
nyagami
2024-01-18 20:32:01 +07:00
committed by GitHub
parent 402052bb22
commit cd3d96937a
116 changed files with 769 additions and 417 deletions
-1
View File
@@ -61,7 +61,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
-1
View File
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
-1
View File
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -46,7 +46,6 @@ var WPmangaStreamPlugin = /** @class */ (function () {
this.icon = "multisrc/wpmangastream/icons/".concat(metadata.id, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
}
WPmangaStreamPlugin.prototype.popularNovels = function (page) {
-1
View File
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
-1
View File
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
-1
View File
@@ -61,7 +61,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
-1
View File
@@ -46,7 +46,6 @@ var KolNovel = /** @class */ (function () {
this.icon = "multisrc/wpmangastream/icons/kolnovel.png";
this.site = "https://kolnovel.lol/";
this.version = "1.0.0";
this.userAgent = "";
this.filters = {
order: {
label: "ترتيب حسب",
-1
View File
@@ -47,7 +47,6 @@ var Linovelib = /** @class */ (function () {
this.icon = "src/cn/linovelib/icon.png";
this.site = "https://w.linovelib.com";
this.version = "1.0.0";
this.userAgent = "";
this.filters = {
sort: {
label: "Sort By",
-1
View File
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -61,7 +61,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -61,7 +61,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
-1
View File
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
-1
View File
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
+1 -3
View File
@@ -49,7 +49,6 @@ var ReadwnPlugin = /** @class */ (function () {
this.icon = "multisrc/readwn/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.filters = metadata.filters;
}
ReadwnPlugin.prototype.popularNovels = function (pageNo, _a) {
@@ -179,8 +178,7 @@ var ReadwnPlugin = /** @class */ (function () {
"Content-Type": "application/x-www-form-urlencoded",
Referer: this.site + "/search.html",
Origin: this.site,
"user-agent": this.userAgent ||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36",
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36",
},
method: "POST",
body: JSON.stringify({
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -61,7 +61,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
-1
View File
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
-1
View File
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -61,7 +61,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
-1
View File
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -61,7 +61,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
-1
View File
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
-1
View File
@@ -61,7 +61,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
-1
View File
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -61,7 +61,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
+1 -3
View File
@@ -49,7 +49,6 @@ var ReadwnPlugin = /** @class */ (function () {
this.icon = "multisrc/readwn/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.filters = metadata.filters;
}
ReadwnPlugin.prototype.popularNovels = function (pageNo, _a) {
@@ -179,8 +178,7 @@ var ReadwnPlugin = /** @class */ (function () {
"Content-Type": "application/x-www-form-urlencoded",
Referer: this.site + "/search.html",
Origin: this.site,
"user-agent": this.userAgent ||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36",
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36",
},
method: "POST",
body: JSON.stringify({
+1 -3
View File
@@ -49,7 +49,6 @@ var ReadwnPlugin = /** @class */ (function () {
this.icon = "multisrc/readwn/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.filters = metadata.filters;
}
ReadwnPlugin.prototype.popularNovels = function (pageNo, _a) {
@@ -179,8 +178,7 @@ var ReadwnPlugin = /** @class */ (function () {
"Content-Type": "application/x-www-form-urlencoded",
Referer: this.site + "/search.html",
Origin: this.site,
"user-agent": this.userAgent ||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36",
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36",
},
method: "POST",
body: JSON.stringify({
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
-1
View File
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
-1
View File
@@ -47,7 +47,6 @@ var AllNovelFullPlugin = /** @class */ (function () {
this.icon = "src/en/allnovelfull/icon.png";
this.site = "https://allnovelfull.net";
this.version = "1.0.0";
this.userAgent = "";
this.filters = {
order: {
value: "/most-popular",
-1
View File
@@ -47,7 +47,6 @@ var BLN = /** @class */ (function () {
this.icon = "src/en/bestlightnovel/icon.png";
this.site = "https://bestlightnovel.com/";
this.version = "1.0.0";
this.userAgent = "";
}
BLN.prototype.popularNovels = function (pageNo, options) {
return __awaiter(this, void 0, void 0, function () {
-1
View File
@@ -47,7 +47,6 @@ var ComradeMaoPlugin = /** @class */ (function () {
this.site = "https://comrademao.com/";
this.version = "1.0.0";
this.icon = "src/en/comrademao/icon.png";
this.userAgent = "";
this.filters = {
category: {
value: "",
-1
View File
@@ -46,7 +46,6 @@ var DDLPlugin = /** @class */ (function () {
this.site = "https://www.divinedaolibrary.com/";
this.version = "1.0.0";
this.icon = "src/en/divinedaolibrary/icon.png";
this.userAgent = "";
}
DDLPlugin.prototype.parseNovels = function (loadedCheerio, searchTerm) {
var novels = [];
-1
View File
@@ -47,7 +47,6 @@ var EarlyNovelPlugin = /** @class */ (function () {
this.version = "1.0.0";
this.icon = "multisrc/madara/icons/latestnovel.png";
this.site = "https://earlynovel.net/";
this.userAgent = "";
this.filters = {
order: {
value: "/most-popular",
-170
View File
@@ -1,170 +0,0 @@
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
Object.defineProperty(exports, "__esModule", { value: true });
var fetch_1 = require("@libs/fetch");
var filterInputs_1 = require("@libs/filterInputs");
var FTest = /** @class */ (function () {
function FTest() {
this.id = "ftest";
this.name = "Filter Test";
this.icon = "src/en/noblemtl/icon.png";
this.site = "https://noblemtl.com/";
this.version = "1.0.0";
this.userAgent = "";
this.filters = {
picker: {
type: filterInputs_1.FilterTypes.Picker,
label: "Picker",
options: [
{ label: "A", value: "a" },
{ label: "B", value: "b" },
],
value: "a",
},
nd_picker: {
type: filterInputs_1.FilterTypes.Picker,
label: "ND_Picker",
options: [
{ label: "A", value: "a" },
{ label: "B", value: "b" },
],
value: "b",
},
checkbox: {
type: filterInputs_1.FilterTypes.CheckboxGroup,
label: "Checkbox",
options: [
{ label: "A", value: "a" },
{ label: "B", value: "b" },
],
value: [],
},
nd_checkbox: {
type: filterInputs_1.FilterTypes.CheckboxGroup,
label: "ND_Checkbox",
options: [
{ label: "A", value: "a" },
{ label: "B", value: "b" },
],
value: ["a"],
},
switch: {
type: filterInputs_1.FilterTypes.Switch,
label: "Switch",
value: false,
},
nd_switch: {
type: filterInputs_1.FilterTypes.Switch,
label: "ND_Switch",
value: true,
},
text: {
type: filterInputs_1.FilterTypes.TextInput,
label: "Text",
value: "",
},
nd_text: {
type: filterInputs_1.FilterTypes.TextInput,
label: "ND_Text",
value: "some default value",
},
xcheckbox: {
type: filterInputs_1.FilterTypes.ExcludableCheckboxGroup,
label: "XCheckbox",
options: [
{ label: "A", value: "a" },
{ label: "C", value: "c" },
{ label: "B", value: "b" },
],
value: {},
},
nd_xcheckbox: {
type: filterInputs_1.FilterTypes.ExcludableCheckboxGroup,
label: "ND_XCheckbox",
options: [
{ label: "A", value: "a" },
{ label: "C", value: "c" },
{ label: "B", value: "b" },
],
value: { exclude: ["a"], include: ["b"] },
},
};
}
FTest.prototype.popularNovels = function (pageNo, _a) {
var filters = _a.filters;
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_b) {
return [2 /*return*/, []];
});
});
};
FTest.prototype.parseNovelAndChapters = function (novelUrl) {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, { url: "" }];
});
});
};
FTest.prototype.parseChapter = function (chapterUrl) {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, "Empty chapter"];
});
});
};
FTest.prototype.searchNovels = function (searchTerm, pageNo) {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, []];
});
});
};
FTest.prototype.fetchImage = function (url) {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, (0, fetch_1.fetchFile)(url)];
case 1: return [2 /*return*/, _a.sent()];
}
});
});
};
return FTest;
}());
var Test = new FTest();
exports.default = new FTest();
-1
View File
@@ -45,7 +45,6 @@ var FreeWebNovel = /** @class */ (function () {
this.site = "https://freewebnovel.com";
this.version = "1.0.0";
this.icon = "src/en/freewebnovel/icon.png";
this.userAgent = "";
this.fetchImage = fetch_1.fetchFile;
}
FreeWebNovel.prototype.popularNovels = function (page, _a) {
-1
View File
@@ -46,7 +46,6 @@ var NobleMTL = /** @class */ (function () {
this.icon = "src/en/noblemtl/icon.png";
this.site = "https://noblemtl.com/";
this.version = "1.0.0";
this.userAgent = "";
this.filters = {
order: {
label: "Sort By",
-1
View File
@@ -46,7 +46,6 @@ var PandaMTL = /** @class */ (function () {
this.icon = "src/en/wordpress/icon.png";
this.site = "https://pandamtl.com/";
this.version = "1.0.0";
this.userAgent = "";
this.filters = {
order: {
label: "Sort By",
@@ -46,7 +46,6 @@ var WPmangaStreamPlugin = /** @class */ (function () {
this.icon = "multisrc/wpmangastream/icons/".concat(metadata.id, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
}
WPmangaStreamPlugin.prototype.popularNovels = function (page) {
-1
View File
@@ -45,7 +45,6 @@ var ChireadsPlugin = /** @class */ (function () {
this.icon = "src/fr/chireads/icon.png";
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";
}
ChireadsPlugin.prototype.parseNovels = function (loadedCheerio) {
return [];
-1
View File
@@ -46,7 +46,6 @@ var NovelDeGlacePlugin = /** @class */ (function () {
this.icon = "src/fr/noveldeglace/icon.png";
this.site = "https://noveldeglace.com/";
this.version = "1.0.0";
this.userAgent = "''";
}
NovelDeGlacePlugin.prototype.popularNovels = function (page) {
return __awaiter(this, void 0, void 0, function () {
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -46,7 +46,6 @@ var LightNovelBrasil = /** @class */ (function () {
this.icon = "multisrc/wpmangastream/icons/lightnovelbrasil.png";
this.site = "https://lightnovelbrasil.com/";
this.version = "1.0.0";
this.userAgent = "";
this.filters = {
order: {
label: "Sort By",
@@ -48,7 +48,6 @@ var IfreedomPlugin = /** @class */ (function () {
this.icon = "multisrc/ifreedom/icons/".concat(metadata.id, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.filters = metadata.filters;
}
IfreedomPlugin.prototype.popularNovels = function (page, _a) {
-1
View File
@@ -49,7 +49,6 @@ var RulatePlugin = /** @class */ (function () {
this.icon = "multisrc/rulate/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.filters = metadata.filters;
}
RulatePlugin.prototype.popularNovels = function (pageNo, _a) {
-1
View File
@@ -46,7 +46,6 @@ var freedlit = /** @class */ (function () {
this.site = "https://freedlit.space";
this.version = "1.0.0";
this.icon = "src/ru/freedlit/icon.png";
this.userAgent = "";
this.fetchImage = fetch_1.fetchFile;
this.filters = {
sort: {
-1
View File
@@ -49,7 +49,6 @@ var RulatePlugin = /** @class */ (function () {
this.icon = "multisrc/rulate/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.filters = metadata.filters;
}
RulatePlugin.prototype.popularNovels = function (pageNo, _a) {
-1
View File
@@ -54,7 +54,6 @@ var AuthorToday = /** @class */ (function () {
this.icon = "src/ru/authortoday/icon.png";
this.site = "https://author.today";
this.version = "1.0.0";
this.userAgent = "";
this.fetchImage = fetch_1.fetchFile;
this.filters = {
sort: {
-1
View File
@@ -51,7 +51,6 @@ var Bookriver = /** @class */ (function () {
this.site = "https://bookriver.ru";
this.version = "1.0.0";
this.icon = "src/ru/bookriver/icon.png";
this.userAgent = "";
this.fetchImage = fetch_1.fetchFile;
this.filters = {
sort: {
-1
View File
@@ -48,7 +48,6 @@ var ficbook = /** @class */ (function () {
this.site = "https://ficbook.net";
this.version = "1.0.0";
this.icon = "src/ru/ficbook/icon.png";
this.userAgent = "";
this.fetchImage = fetch_1.fetchFile;
this.filters = {
sort: {
-1
View File
@@ -47,7 +47,6 @@ var Jaomix = /** @class */ (function () {
this.site = "https://jaomix.ru";
this.version = "1.0.0";
this.icon = "src/ru/jaomix/icon.png";
this.userAgent = "";
this.fetchImage = fetch_1.fetchFile;
this.filters = {
sortby: {
-1
View File
@@ -52,7 +52,6 @@ var TL = /** @class */ (function () {
this.site = "https://novel.tl";
this.version = "1.0.0";
this.icon = "src/ru/noveltl/icon.png";
this.userAgent = "";
this.fetchImage = fetch_1.fetchFile;
this.filters = {
tags: {
-1
View File
@@ -51,7 +51,6 @@ var RNBH = /** @class */ (function () {
this.version = "1.0.0";
this.site = "https://ranobehub.org/";
this.icon = "src/ru/ranobehub/icon.png";
this.userAgent = "";
this.fetchImage = fetch_1.fetchFile;
this.filters = {
sort: {
-1
View File
@@ -52,7 +52,6 @@ var RLIB = /** @class */ (function () {
this.version = "1.0.0";
this.icon = "src/ru/ranobelib/icon.png";
this.ui = undefined;
this.userAgent = "";
this.fetchImage = fetch_1.fetchFile;
this.filters = {
sort: {
-1
View File
@@ -52,7 +52,6 @@ var RNRF = /** @class */ (function () {
this.site = "https://ранобэ.рф";
this.version = "1.0.0";
this.icon = "src/ru/ranoberf/icon.png";
this.userAgent = "";
this.fetchImage = fetch_1.fetchFile;
this.filters = {
sort: {
-1
View File
@@ -50,7 +50,6 @@ var ReN = /** @class */ (function () {
this.site = "https://renovels.org";
this.version = "1.0.0";
this.icon = "src/ru/renovels/icon.png";
this.userAgent = "";
this.fetchImage = fetch_1.fetchFile;
this.filters = {
sort: {
@@ -48,7 +48,6 @@ var IfreedomPlugin = /** @class */ (function () {
this.icon = "multisrc/ifreedom/icons/".concat(metadata.id, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.filters = metadata.filters;
}
IfreedomPlugin.prototype.popularNovels = function (page, _a) {
-1
View File
@@ -49,7 +49,6 @@ var TuNovelaLigera = /** @class */ (function () {
this.icon = "src/es/tunovelaligera/icon.png";
this.site = "https://tunovelaligera.com/";
this.version = "1.0.0";
this.userAgent = "";
this.filters = {
order: {
value: "?m_orderby=rating",
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
@@ -62,7 +62,6 @@ var MadaraPlugin = /** @class */ (function () {
this.icon = "multisrc/madara/icons/".concat(iconFileName, ".png");
this.site = metadata.sourceSite;
this.version = "1.0.0";
this.userAgent = "";
this.options = metadata.options;
this.filters = metadata.filters;
}
-1
View File
@@ -46,7 +46,6 @@ var LSHNovel = /** @class */ (function () {
this.icon = "multisrc/wpmangastream/icons/lshnovel.png";
this.site = "https://lshnovel.com/";
this.version = "1.0.0";
this.userAgent = "";
this.filters = {
order: {
value: "popular",
-1
View File
@@ -49,7 +49,6 @@ var Smakolykytl = /** @class */ (function () {
this.site = "https://smakolykytl.site/";
this.version = "1.0.0";
this.icon = "src/ua/smakolykytl/icon.png";
this.userAgent = "";
this.fetchImage = fetch_1.fetchFile;
}
Smakolykytl.prototype.popularNovels = function (pageNo, _a) {
-1
View File
@@ -46,7 +46,6 @@ var HakoPlugin = /** @class */ (function () {
this.icon = "src/vi/hakolightnovel/icon.png";
this.site = "https://ln.hako.vn";
this.version = "1.0.0";
this.userAgent = "";
}
HakoPlugin.prototype.parseNovels = function (loadedCheerio) {
var _this = this;