I am connecting my RaspberryPi to my school's WiFi network which is fine for local operations like SSH, but the school has a web login to associate the IP with a user account which grants internet access (Uses LightSpeed Systems). I'm using my raspberrypi headless, so I don't have any access to a browser and this resets roughly every 45 minutes (I have to log in again).
Is there a way that I could automate this process with a Python script?
Thanks
Clarification: In response to the comment: To use the internet at my school a login to a webpage is required (internal proxy) similar to what you would find at a hotel or airport. It makes you login every 45 minutes to have a connection to the outside internet. Could I get the Pi to automatically login via a script as it will be running headless.