import requests import time def get_request(url): try: response = requests.get(url) print(f"Response from {url}: {response.status_code}") except requests.exceptions.RequestException as e: print(f"Error during request to {url}: {str(e)}") def main(): url = "https://sturdyclub.onrender.com" while True: get_request(url) time.sleep(180) # Sleep for 180 seconds (3 minutes) if __name__ == "__main__": main()