No problem. You need to download the one that says LiveAnalyzer0x7.jar
If it does not run just make sure you have an updated version of Java.
https://www.java.com/en/download/win10.jsp
Google Chrome may say it could be dangerous but its fine.
No problem. You need to download the one that says LiveAnalyzer0x7.jar
If it does not run just make sure you have an updated version of Java.
https://www.java.com/en/download/win10.jsp
Google Chrome may say it could be dangerous but its fine.
This scrapes the web page, rather than using the API, right? So it will break if the website changes.
This scrapes the web page, rather than using the API, right? So it will break if the website changes.
Sadly yes. It will also die if they release an API for it. But well, at least it lived.
I think I did a good job in terms of coding practices and OO programming. If the page changes, technically, technically I can just change the scraping classes so they work with the new HTML format. Data classes and everything else does not depend on how the scraping is done since they just process Strings or doubles returned by the scrapers.
Curious fact, as It was pointed out by another member the HTML page for live and daily chess matches is the same so this scraper could potentially work with daily matches. However I decided to regularize URLs and use a formatter class so if for whatever reason the URLs change I just need to change one line of code in the formatter.
There is also an easter egg on the GetHttp class inside the source folder under the scraper package. You can find it directly on Github
There is also an easter egg on the GetHttp class inside the source folder under the scraper package. You can find it directly on Github
LOL. Indeed.
When you click on gather data do you see a loading window popup? Or do the letters inmeadiatly turn green?
When you click on "Salva" nothing happens?
Do you have the URL of the club you have so I can try it myself on a debugger version to see whats going on with it?
I see. The problem is that when I mean "Live" I meant matches where you have a clock with 5 minutes for example. It seems like you are trying to gather data for correspondence chess which the app does not support right now.
The club creative mind does not have any live chess matches as far as I could see. If you still wnat to try the app since you downloaded it already you can try analyzing any team with live team matches or a specific live match.
If you want to analyze a specific match dont copy everything, just the ID, the number at the end.
If you want to analyze a club just copy this URL instead:
https://www.chess.com/club/creative-mind
Just keep in mind that this is only for live matches.
I have another app which is specifically for correspondence chess and I was gonna add the write to Excel feature. It is this other one:
https://github.com/AntonioBohne/Chess.com-ClubManager
It should not take me long to add it. Once I add that feature for correspondence chess I will update it here so you can try it out.
OK, thank you so much for the explanations. I will return with another club. And congratulations for the excellent work
Thanks to you for taking the time to try the program out.
Here is the app with the function that you wanted to try out.
https://github.com/AntonioBohne/Chess.com-ClubManager/releases
Is the latest release that says Excel sheets were added. I tried it out with
https://www.chess.com/club/creative-mind
I wrote down the finished matches (writes last 10 matches) and this is how it should look like:
This other app will work with all correspondence matches/clubs.
A lot of people were asking for it. They wanted something great, something beautiful. Admins all over the world wanted an easy way to manage their Live Matches. Chess.com bureaucracy had added a great feature, live chess matches, but without Nichgut´s help they weren't able to release a JSON API for it.
I am still waiting for erik to hire me so I can bring the JSON API for Live Matches to reality, in the meantime I summoned the powers of Java, the powers of beauty, and I came up with a Live Match Manager application for the masses. This app gathers ALL live matches from a certain club and allows you to save them into an Excel sheet. How convenient!
I reused the look and feel from my previous Club Manager and implemented a beautifully scraper with JSOUP. Over 3 scraping classes with lots of methods and 4 data objects, all without comments. HOW BEAUTIFUL. The best part, its Open Source, which means you can enjoy it all while I sink into poverty! This one goes for you Richie Stallman!
For the ones who dont appreciate my bad attempts at programming jokes here is the app working:
For this example I decided to use Team Nicaragua. Since @El_Iniciado was the one that started it all by making a thread about it.
If you dont want to gather all 24 matches from Team Nicaragua you can just write "10" for example and the program will gather the 10 most recent matches. If you leave it empty it will analyze ALL matches.
Once the information is gathered the "Write Data" button will lightup so that you can select where to save your Excel Sheet
Click on it and a beatiful popup will appear:
No idea why the menu is in Spanish, my chess.com flag says Im from Deutschland!
And finally. Open it and you get this. Tears of joy come out every time I see my creation:

You can download the app from here:
https://github.com/AntonioBohne/Chess.com-Scraper/releases
Big thanks to Ritchie for creating C.