Feat: ImageRequestInit (#979)

* add ImageRequestInit & fix Hako

* remove multisrc fetchFile

* remove plugins fetchFile

* update docs and template file
This commit is contained in:
nyagami
2024-06-08 20:09:33 +07:00
committed by GitHub
parent 6062f51460
commit 60d95fb8d2
85 changed files with 441 additions and 692 deletions
-3
View File
@@ -136,9 +136,6 @@ class HasulTL implements Plugin.PluginBase {
return novels;
}
async fetchImage(url: string): Promise<string | undefined> {
return fetchFile(url);
}
}
export default new HasulTL();
-3
View File
@@ -176,9 +176,6 @@ class Ligera implements Plugin.PluginBase {
return novels;
}
async fetchImage(url: string): Promise<string | undefined> {
return fetchFile(url);
}
}
export default new Ligera();
-3
View File
@@ -199,9 +199,6 @@ class ReinoWuxia implements Plugin.PluginBase {
return novels;
}
async fetchImage(url: string): Promise<string | undefined> {
return fetchFile(url);
}
}
export default new ReinoWuxia();
-3
View File
@@ -161,9 +161,6 @@ class Oasis implements Plugin.PluginBase {
return novels;
}
async fetchImage(url: string): Promise<string | undefined> {
return fetchFile(url);
}
}
export default new Oasis();
-3
View File
@@ -128,9 +128,6 @@ class SkyNovels implements Plugin.PluginBase {
return novels;
}
async fetchImage(url: string): Promise<string | undefined> {
return fetchFile(url);
}
}
export default new SkyNovels();
-4
View File
@@ -182,10 +182,6 @@ class TuNovelaLigera implements Plugin.PagePlugin {
return novels;
}
async fetchImage(url: string): Promise<string | undefined> {
return await fetchFile(url);
}
filters = {
order: {
value: 'rating',
-3
View File
@@ -179,9 +179,6 @@ class Yuuki implements Plugin.PluginBase {
return novels;
}
fetchImage(url: string): Promise<string | undefined> {
return fetchFile(url);
}
}
export default new Yuuki();