added version to every extension

This commit is contained in:
2025-12-19 23:47:02 +01:00
parent 947a808ca2
commit 1f52ac678e
17 changed files with 18 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
class HiAnime { class HiAnime {
constructor() { constructor() {
this.type = "anime-board"; this.type = "anime-board";
this.version = "1.0"
this.baseUrl = "https://hianime.to"; this.baseUrl = "https://hianime.to";
} }

View File

@@ -2,6 +2,7 @@ class asmhentai {
constructor() { constructor() {
this.baseUrl = "https://asmhentai.com"; this.baseUrl = "https://asmhentai.com";
this.type = "book-board"; this.type = "book-board";
this.version = "1.0"
this.mediaType = "manga"; this.mediaType = "manga";
} }

View File

@@ -4,6 +4,7 @@ class lightnovelworld {
this.type = "book-board"; this.type = "book-board";
this.mediaType = "ln"; this.mediaType = "ln";
this.version = "1.0"
} }
async search(queryObj) { async search(queryObj) {

View File

@@ -4,6 +4,7 @@ class MangaDex {
this.apiUrl = "https://api.mangadex.org"; this.apiUrl = "https://api.mangadex.org";
this.type = "book-board"; this.type = "book-board";
this.mediaType = "manga"; this.mediaType = "manga";
this.version = "1.0"
} }
getHeaders() { getHeaders() {

View File

@@ -3,6 +3,7 @@ class mangapark {
this.baseUrl = "https://mangapark.net/apo"; this.baseUrl = "https://mangapark.net/apo";
this.type = "book-board"; this.type = "book-board";
this.mediaType = "manga"; this.mediaType = "manga";
this.version = "1.0"
} }
async search(queryObj) { async search(queryObj) {

View File

@@ -3,6 +3,7 @@ class nhentai {
this.baseUrl = "https://nhentai.net"; this.baseUrl = "https://nhentai.net";
this.type = "book-board"; this.type = "book-board";
this.mediaType = "manga"; this.mediaType = "manga";
this.version = "1.0"
} }
async search(queryObj) { async search(queryObj) {

View File

@@ -3,6 +3,7 @@ class NovelBin {
this.baseUrl = "https://novelbin.me"; this.baseUrl = "https://novelbin.me";
this.type = "book-board"; this.type = "book-board";
this.mediaType = "ln"; this.mediaType = "ln";
this.version = "1.0"
} }
async search(queryObj) { async search(queryObj) {

View File

@@ -3,6 +3,7 @@ class NovelFire {
this.baseUrl = "https://novelfire.net"; this.baseUrl = "https://novelfire.net";
this.type = "book-board"; this.type = "book-board";
this.mediaType = "ln"; this.mediaType = "ln";
this.version = "1.0"
} }
async search(queryObj) { async search(queryObj) {

View File

@@ -3,6 +3,7 @@ class wattpad {
this.baseUrl = "https://wattpad.com"; this.baseUrl = "https://wattpad.com";
this.type = "book-board"; this.type = "book-board";
this.mediaType = "ln"; this.mediaType = "ln";
this.version = "1.0"
} }
async search(queryObj) { async search(queryObj) {

View File

@@ -3,6 +3,7 @@ class ZeroChan {
constructor() { constructor() {
this.type = "image-board"; this.type = "image-board";
this.version = "1.0"
} }
async search(query = "thighs", page = 1, perPage = 48) { async search(query = "thighs", page = 1, perPage = 48) {

View File

@@ -3,6 +3,7 @@ class Animepictures {
constructor() { constructor() {
this.type = "image-board"; this.type = "image-board";
this.version = "1.0"
} }
async search(query = "thighs", page = 1, perPage = 42) { async search(query = "thighs", page = 1, perPage = 42) {

View File

@@ -3,6 +3,7 @@ class Gelbooru {
constructor() { constructor() {
this.type = "image-board"; this.type = "image-board";
this.version = "1.0"
} }
async search(query = "thighs", page = 1, perPage = 42) { async search(query = "thighs", page = 1, perPage = 42) {

View File

@@ -3,6 +3,7 @@ class Giphy {
constructor() { constructor() {
this.type = "image-board"; this.type = "image-board";
this.version = "1.0"
} }
async search(query = "hello", page = 1, perPage = 48) { async search(query = "hello", page = 1, perPage = 48) {

View File

@@ -7,6 +7,7 @@ class Realbooru {
constructor() { constructor() {
this.type = "image-board"; this.type = "image-board";
this.version = "1.0"
} }
async search(query = "original", page = 1, perPage = 42) { async search(query = "original", page = 1, perPage = 42) {

View File

@@ -7,6 +7,7 @@ class Rule34 {
constructor() { constructor() {
this.type = "image-board"; this.type = "image-board";
this.version = "1.0"
} }
async search(query = "alisa_mikhailovna_kujou", page = 1, perPage = 42) { async search(query = "alisa_mikhailovna_kujou", page = 1, perPage = 42) {

View File

@@ -5,6 +5,7 @@ class Tenor {
this.type = "image-board"; this.type = "image-board";
this.lastQuery = null; this.lastQuery = null;
this.seenIds = new Set(); this.seenIds = new Set();
this.version = "1.0"
} }
async search(query, page = 1, perPage = 48) { async search(query, page = 1, perPage = 48) {

View File

@@ -10,6 +10,7 @@ class WaifuPics {
constructor() { constructor() {
this.type = "image-board"; this.type = "image-board";
this.version = "1.0"
} }
async search(query, page = 1, perPage = 42) { async search(query, page = 1, perPage = 42) {