> This won't work if you're behind a captive portal: every URL you try to get will return successfully, but the content will be the captive portal page.
Yes agree a pretty common scenario if you are moving around ... The solution is to test against a webpage you know the content will always be the same. Thanks for pointing out! Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> github <https://github.com/Abdur-RahmaanJ> Mauritius -- https://mail.python.org/mailman/listinfo/python-list