From d0da47980d727432631c853caa2dab2e7823be73 Mon Sep 17 00:00:00 2001 From: Saksham Shekher <95137948+OshekharO@users.noreply.github.com> Date: Mon, 13 Nov 2023 23:24:23 +0530 Subject: [PATCH] Update cover --- repo/gakiarchives.com.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/repo/gakiarchives.com.js b/repo/gakiarchives.com.js index 5e2d44c..b3f5049 100644 --- a/repo/gakiarchives.com.js +++ b/repo/gakiarchives.com.js @@ -51,14 +51,14 @@ export default class extends Extension { } async detail(url) { - const res = await this.request("", { + const res = await this.request('', { headers: { "Miru-Url": url, }, }); const title = await this.querySelector(res, "div.card-header > h3").text; - //const cover = await this.querySelector(res, "").getAttributeText(""); + const cover = res.match(/pic:\s*'([^']+?)'/); //const desc = await this.querySelector(res, "i.far.fa-folder > a").text; const urlPatterns = [/https?:\/\/[^\s'"]+\.(?:m3u8)/]; @@ -74,7 +74,7 @@ export default class extends Extension { return { title: title.trim(), - //cover: "https://gakiarchives.com" + cover, + cover: "https://gakiarchives.com" + cover, //desc, episodes: [ {