Skip to content

Commit

Permalink
fix problems
Browse files Browse the repository at this point in the history
  • Loading branch information
WholesomeGodList committed Jun 9, 2020
1 parent e6131de commit 3ef6a57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/bot/nhentai/SoupPitcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ public Instant getTimePosted() {
}

public int getPages() {
/*
Elements divs = doc.select("span").select(".tags").select("a");

for (Element div : divs) {
Expand All @@ -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) {
Expand All @@ -143,6 +142,7 @@ public int getPages() {
}
throw new NotFoundException("Page count not found.");
*/
}

public ArrayList<String> getTags() {
Expand Down

0 comments on commit 3ef6a57

Please sign in to comment.