I am trying to create an external Minecraft launcher, but I am struggling to figure out how to get the session ID. I know that pressing F3 + C will crash the game and the session ID will be displayed in the log, but the ID is only valid for 24hrs and i want to be able to request it solely through python.
I am using this post to create the launcher, but the login link no longer exists.
This answer is not possible with the given information and does not help at all so please don't just link me to it.
How can I login to the Minecraft website to get the session ID with url params? Or is there some other way I should be doing it?