Skip to content

Commit

Permalink
adjusted code to reflect imdb internal changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mexikoedi committed Mar 11, 2023
1 parent 449a720 commit 6da0998
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Binary file modified Anime New Season Checker.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ Before opening the .jar file open the "list.txt" file and add your anime titles
2) Only use website URLs from [IMDB](https://www.imdb.com). <br>
3) Use only correctly formatted URLS from IMDB after "source:". <br>
4) The .jar file and the "list.txt" file need to be in the same directory. <br>
5) **Follow the examples below.**
5) If the program unexpectedly doesn't work anymore, try using a different IP address. <br>
6) **Follow the examples below.**

## How does it work?
After you entered a season number you need to click the search button. <br>
Expand Down
2 changes: 1 addition & 1 deletion src/ansc/ANSChecker.java
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ private void check() {
yearData = website.select("#browse-episodes-year.ipc-simple-select__input").text();
yearData = yearData.replaceAll("[^0-9]", "");
} else {
yearData = website.select("a.ipc-btn div.ipc-btn__text").text();
yearData = website.select("a.ipc-btn span.ipc-btn__text").text();
yearData = yearData.replaceAll("[^0-9]", "");
yearData = yearData.substring(yearData.length() - 4);
}
Expand Down

0 comments on commit 6da0998

Please sign in to comment.