Feat: ImageRequestInit (#979)
* add ImageRequestInit & fix Hako * remove multisrc fetchFile * remove plugins fetchFile * update docs and template file
This commit is contained in:
@@ -145,11 +145,6 @@ class MTLNovel implements Plugin.PluginBase {
|
||||
|
||||
return novels;
|
||||
}
|
||||
async fetchImage(url: string): Promise<string | undefined> {
|
||||
const headers = new Headers();
|
||||
headers.append('Alt-Used', 'www.mtlnovel.com');
|
||||
return fetchFile(url, { headers });
|
||||
}
|
||||
|
||||
filters = {
|
||||
order: {
|
||||
|
||||
Reference in New Issue
Block a user