diff --git a/repo/hanime1.me.js b/repo/hanime1.me.js new file mode 100644 index 0000000..6549ffb --- /dev/null +++ b/repo/hanime1.me.js @@ -0,0 +1,86 @@ +// ==MiruExtension== +// @name Hanime +// @version v0.0.1 +// @author appdevelpo +// @lang zh +// @license MIT +// @icon https://img4.qy0.ru/data/2205/36/tab_logo.png +// @package hanime1.me +// @type bangumi +// @webSite https://hanime1.me +// @nsfw true +// ==/MiruExtension== + +export default class extends Extension { + async search(kw, page) { + const res = await this.request(`/search?query=${kw}&type=&genre=&sort=&year=&month=&page=${page}`); + const bsxList = res.match(/