From 07aec6ca9a0b4f4c9f550451ce43a7463fa470cc Mon Sep 17 00:00:00 2001 From: appdevelpo <56633229+appdevelpo@users.noreply.github.com> Date: Wed, 15 Nov 2023 17:21:16 +0800 Subject: [PATCH] Update dev.0n0.miru.7xi.js --- repo/dev.0n0.miru.7xi.js | 84 +++++++++++++++++----------------------- 1 file changed, 36 insertions(+), 48 deletions(-) diff --git a/repo/dev.0n0.miru.7xi.js b/repo/dev.0n0.miru.7xi.js index bce9fe9..f5a70a8 100644 --- a/repo/dev.0n0.miru.7xi.js +++ b/repo/dev.0n0.miru.7xi.js @@ -1,19 +1,16 @@ // ==MiruExtension== // @name 7喜影院 -// @version v0.0.5 +// @version v0.0.6 // @author MiaoMint // @lang zh-cn // @license MIT // @icon https://www.7xi.tv/upload/site/20220630-1/f0aa6861d2399c58f87faab0f1928b10.png // @package dev.0n0.miru.7xi // @type bangumi -// @webSite https://www.7xi.tv/ +// @webSite https://www.7xi.tv // ==/MiruExtension== export default class extends Extension { - constructor() { - super("https://www.7xi.tv/") - } getCover(url) { if (url.indexOf("http") == -1) { return `https://www.7xi.tv${url}` @@ -23,43 +20,39 @@ export default class extends Extension { async search(kw, page) { const res = await this.request(`/vodsearch/page/${page}/wd/${kw}.html`) - const ul = res.match(/