Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
joroto committed Jan 9, 2024
1 parent 083dac9 commit b851011
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ public List<String> getURLsFromPage(Document page) {
image = thumb.attr("data-cfsrc");
} else {
try {
Document document = Jsoup.parse(thumb.html());
Element imageElement = document.select("img.lazyload").first();
Element imageElement = thumb.select("img").first();
image = "https://comics.8muses.com" + imageElement.attr("data-src").replace("/th/", "/fl/");
URL imageUrl = new URI(image).toURL();
addURLToDownload(imageUrl, getSubdir(page.select("title").text()), this.url.toExternalForm(), cookies, getPrefixShort(i), "", null, true);
Expand Down

0 comments on commit b851011

Please sign in to comment.