I have been googling for this problem for a week now. The thing I want to achive is the following:
Send a POST request to the URL including the correct credentials. Save the session (not cookie since my website is not using cookies at the moment) With the saved session open a session protected URL and grab the contents.
I have seen alot of topics on this with cookies but not with sessions, I tried sessions with requests but seems to fail everytime.