diff --git a/README.md b/README.md index 6420c7a..8697b00 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ UPDATE: nhentai changed their UI as of 4/28/2020; bot has been updated to work w UPDATE #2 (4/29/2020): They rolled their UI back... +UPDATE #3 (6/9/2020): They fixed their UI and rolled it back out. Fix reapplied. + Join our Discord for support and vanilla doujins! [discord-invite]: https://discord.gg/FQCR6qu diff --git a/src/main/java/bot/nhentai/SoupPitcher.java b/src/main/java/bot/nhentai/SoupPitcher.java index 6c8fb52..d3340e8 100644 --- a/src/main/java/bot/nhentai/SoupPitcher.java +++ b/src/main/java/bot/nhentai/SoupPitcher.java @@ -120,7 +120,6 @@ public Instant getTimePosted() { } public int getPages() { - /* Elements divs = doc.select("span").select(".tags").select("a"); for (Element div : divs) { @@ -130,8 +129,8 @@ public int getPages() { } throw new NotFoundException("Page count not found."); - */ + /* Elements divs = doc.select("div").select("#info").select("div"); for (Element div : divs) { @@ -143,6 +142,7 @@ public int getPages() { } throw new NotFoundException("Page count not found."); + */ } public ArrayList getTags() {