Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
OshekharO authored Oct 10, 2023
1 parent 1f1249e commit 990069e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions repo/asuratoon.com.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ export default class extends Extension {
let comic = []
for (const element of latest) {
const html = await element.content;
const url = (await this.getAttributeText(html, "a", "href")); //clean url
const title = await this.querySelector(html, "div.uta > div.imgtu > h4").text;
const url = await this.getAttributeText(html, "a", "href");
const title = await this.querySelector(html, "h4").text;
const cover = await this.querySelector(html, "img").getAttributeText("src");

comic.push({
Expand All @@ -68,7 +68,7 @@ export default class extends Extension {
return {
title: title.trim(),
url,
cover: cover
cover,
};
}));
return result;
Expand Down Expand Up @@ -133,4 +133,4 @@ export default class extends Extension {
urls: images,
};
}
}
}

0 comments on commit 990069e

Please sign in to comment.