Skip to content

Commit

Permalink
Welovemanga.one : fix getting image
Browse files Browse the repository at this point in the history
simple change of dataset value
  • Loading branch information
MikeZeDev authored Aug 29, 2024
1 parent 4a58ff1 commit 524062e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/mjs/connectors/LoveHug.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ export default class WeLoveManga extends FlatManga {
const chapterid = (await this.fetchDOM(request, 'input#chapter'))[0].value;
request = new Request(new URL(`/app/manga/controllers/cont.listImg.php?cid=${chapterid}`, this.url), this.requestOptions);
const nodes = await this.fetchDOM(request, 'source.chapter-img:not([alt*="nicoscan"])');
return nodes.map(image => this.createConnectorURI(image.dataset.original.replace(/\n/g, '')));
return nodes.map(image => this.createConnectorURI(image.dataset.srcset.replace(/\n/g, '')));
}
}

0 comments on commit 524062e

Please sign in to comment.