Skip to content

This is a Java program which searches for new seasons for the given anime titles and also displays their runtime.

Notifications You must be signed in to change notification settings

mexikoedi/Anime-New-Season-Checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anime New Season Checker

What is this?

This is a Java program with a GUI which lets you check if an anime got a new season, how many seasons the anime already has and their runtime.

Is this useful to me?

If you already use websites/applications/... which notify you every time an anime gets a new season then no.
But otherwise if you always miss new seasons or if you are a person who uses bookmarks and checks them after sometime via manually searching in the browser for example then this might be something for you.

How to install?

You need Java JDK 16 or higher to use this program! Here: https://www.oracle.com/de/java/technologies/javase-downloads.html
You can download it if you select the green button named "Code" then "Download ZIP" or download the ZIP file over the releases tab.
Extract the downloaded zip folder and then open the program by opening the .jar file.
Before opening the .jar file open the "list.txt" file and add your anime titles and URLs to it.
Read below for more important information.

Limitations?

  1. "list.txt" cannot be empty.
  2. Only use website URLs from IMDB.
  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. 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.
(The season number makes only sense for a small amount of anime.
If you have many anime titles and you only want to know which one has a new season then simply type a random season number.)
The Java program connects to the IMDB URLs from the .txt file and gets the data from there (seasons/runtime).
After that it checks if the data is correct and formats it accordingly.
If something is wrong you will be notifed via popups.
At the end all the data fills the text fields in the GUI.

How fast is this program working?

This program uses parallel stream and is therefore fast enough to process a lot of anime titles.
(A previous version of this program was single threaded and would become slower and slower the more anime titles you added.)

For example:
To get the data for over 160 anime titles the program needs roughly 20 seconds.
(The previous version needed for the same amount of anime titles roughly 3.8 minutes.)

Is the program working correctly?

Most of the time yes, but there are rare cases where for example a season is split in half and registered as new season or because of OVAs which are wrongly registered as new season or because of weird runtime information which were made at the IMDB website.
This is the fault of IMDB and not of the program.
If you see wrong data you could try to fix the data at the IMDB website.
I tested it with over 160 anime titles and encountered 4 wrong season information (1 season too much) and 3 weird runtime information.

Examples?

list.txt
GUI
Program use

Third-party information

jsoup License
The jsoup code-base (including source and compiled packages) are distributed under the open source MIT license as described below.

The MIT License
Copyright © 2009 - 2022 Jonathan Hedley (https://jsoup.org/)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Thanks to Pascal Neumann for the parralel stream integration and the code refactoring.

© 2022-2024 mexikoedi

All rights reserved.

About

This is a Java program which searches for new seasons for the given anime titles and also displays their runtime.

Topics

Resources

Stars

Watchers

Forks

Languages