From 6da09984daf243dad8975cad4bd146feb9904981 Mon Sep 17 00:00:00 2001 From: mexikoedi Date: Sat, 11 Mar 2023 18:55:21 +0100 Subject: [PATCH] adjusted code to reflect imdb internal changes --- Anime New Season Checker.jar | Bin 750626 -> 750627 bytes README.md | 3 ++- src/ansc/ANSChecker.java | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Anime New Season Checker.jar b/Anime New Season Checker.jar index 1ea451f6d7765443c043e42e8d7a70ffb5a17f95..5e107ae58119d309fe36a9745b452c758e4b4e5a 100644 GIT binary patch delta 3078 zcmYk8c{G&o`^RT&4Ua7(*+%(TCJl**5!oUn`z~ZFGK?97^k@-HQW`u>S+X@mNn|ZX zvP46JDf^zrlE{|*tNG{myU%%@_v^mSb?$Sn`>!j9iOyxB`K-*@IYeLx1Ohgg8ko%Y znf+h%Az87h@GnSma3xmS!qr(xgd6_Lvaj%bHkMrDXo2tFt2n^^-@%Z);F8eAU_h|! zI@b{%R%5o{ZFZI@h=_8q94TZdpYxU; zUAdRs`E5p0HB^6)7B!r)x_ZrY$5Sn4>zKDTVG-fD{-(VuIjHT?=ufG@QicK;gu6=^hT)>>R>qJAj~^wNeyWUFp#@Xh5|A3 z_R-{|Esw&kqIqxatqJR~2L2PYvj2GZ zB3)Aj0>AZ;47%L{@~+8ID@g(QQ@c0~%R?WD^Kp1^g|||_RlPxCcEz29JryF-Uah61 z@LJEx1QF^6mduE>i1^K4D6(f=r5$u$I`0)D?l$4+R=V|vtPaV%`I(u0g&5-xw?(*& z^Oj^*BGS%F=kyB7*_H=B>Ud>Ir>v5@FD8sI-f+`h(%-UGkdr|Ecn8pr&cm#d+Tb&& z*YYMtH*E&UQSACR1Az0 zpywNHP7@PhHxi8~)CUzwo;Idg6cw>_z!TBq;c@W^w(qOE!eu zL|+dJde8|JcN&NJ5~zZAX?hx7q|>VL~PX{dus zFz2d%zoDXa z5x0_YDdT61b-@b7dtUL6IZ>Ie$sXH+vgh)u%vN8vLK$~gD&+Cw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$SSg%`u9f%V+Ikq8_1W z=tTFM%%Gg6TN0u7)8QVM#eQXrDt+>C`0Fu zY|cZd;_3wh1?uIHl8lBS8u7_m(!Gn{W_{- zo8#XXfPyiSd=0RV-v;`cfR}r)FyeaUF6zO!8DoU^Q7`=TvE0H|37zz1xo*^vF{4jy zOYfbHd6$hN^3XG7mrb7qY5z$<41CtjM*WbRo2KZdl;LFh#_lGRCf@@ElV{!^ygJfM zIBK0wJ#JB1kCZRbenVWA>Osz8X7SxQ(P2;$*cLmr=M@$zt5>F^KBI9im7096jt+a3 z{Cw7glv-QmKrwc{ot=szxA)$Yrx-*YsWReMHcJO#@)e^pe& AxBvhE diff --git a/README.md b/README.md index f950f70..e6ff5b4 100644 --- a/README.md +++ b/README.md @@ -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).
3) Use only correctly formatted URLS from IMDB after "source:".
4) The .jar file and the "list.txt" file need to be in the same directory.
-5) **Follow the examples below.** +5) If the program unexpectedly doesn't work anymore, try using a different IP address.
+6) **Follow the examples below.** ## How does it work? After you entered a season number you need to click the search button.
diff --git a/src/ansc/ANSChecker.java b/src/ansc/ANSChecker.java index b3d7127..a07eded 100644 --- a/src/ansc/ANSChecker.java +++ b/src/ansc/ANSChecker.java @@ -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); }