Feat: resolveUrl, add neobook (#803)
* neobook * add qs * fix * / * fix * expandURL -> resolveUrl * fix Agitoon * Update ranobelib.ts --------- Co-authored-by: nyagami <hoangquan05112002@gmail.com>
This commit is contained in:
+2
-1
@@ -92,6 +92,7 @@ export namespace Plugin {
|
||||
* ```
|
||||
*/
|
||||
fetchImage(url: string): Promise<string | undefined>;
|
||||
resolveUrl?(path: string, isNovel?: boolean): string;
|
||||
}
|
||||
|
||||
export interface PagePlugin extends PluginBase {
|
||||
@@ -104,4 +105,4 @@ export namespace Plugin {
|
||||
*/
|
||||
parsePage(novelPath: string, page: string): Promise<SourcePage>;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user