Skip to content

Commit

Permalink
Update cover
Browse files Browse the repository at this point in the history
  • Loading branch information
OshekharO authored Nov 13, 2023
1 parent bc9c8a0 commit d0da479
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions repo/gakiarchives.com.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)/];

Expand All @@ -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: [
{
Expand Down

0 comments on commit d0da479

Please sign in to comment.