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:
Rider21
2024-02-28 16:22:20 +03:00
committed by GitHub
parent 9b1417954f
commit bc17c5f576
24 changed files with 854 additions and 285 deletions
+2 -1
View File
@@ -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>;
}
}
}