Download pinger.py from Kyren1/icmr-data: direct link, hf CLI and curl.
- Browser
- Download file 251 Bytes
-
https://huggingface.co/spaces/Kyren1/icmr-data/resolve/main/pinger.py
- Command line
-
hf download hf://spaces/Kyren1/icmr-data/pinger.py
-
curl -L -o pinger.py https://huggingface.co/spaces/Kyren1/icmr-data/resolve/main/pinger.py
251 Bytes
| import time | |
| import requests | |
| URL = "https://kyren1-icmr-data.hf.space/?key=@kzr0x" | |
| while True: | |
| try: | |
| requests.get(URL) | |
| print(f"Pinged {URL} successfully!") | |
| except Exception as e: | |
| print(f"Error: {e}") | |
| time.sleep(300) |