I am trying to write a simple python script that checks the status code of a specific URL and take necessary actions based on the return code. I am using urllib module to ac