transparent-proxy / space_checker.py
wangwei0's picture
Create space_checker.py
a08ec7d verified
raw
history blame contribute delete
No virus
211 Bytes
import requests
import time
import os
space_url = os.getenv('SPACE_URL')
def fetch_url(url):
response = requests.get(url)
print(response.text)
while True:
fetch_url(space_url)
time.sleep(3600)