Login and Logout of ACT Fibernet captive portal using Python
Save the following as
act.py and replace
ACT_ACCOUNT_ID with your ACT account ID and
ACT_PASSWORD with your ACT captive portal password (not your Wi-Fi router password unless they're the same).
ACT_SELFCARE_URL to the correct captive portal link as well (use
https://selfcare.actcorp.in/web/blr/home/-/act/ if you're unsure).
pip install requests if you don't have it already.
Run the script with