Spaces:
Running
Running
Commit
·
882a481
1
Parent(s):
6814f98
Update main.py
Browse files
main.py
CHANGED
@@ -47,7 +47,7 @@ def proxy(url):
|
|
47 |
|
48 |
@app.route('/')
|
49 |
def index():
|
50 |
-
feed = random.randint(0, len(
|
51 |
#url = feed_dict[feed]['url']
|
52 |
url = live_urls[feed]
|
53 |
ip = ''.join(url.split('//')[-1]).split(':')[0]
|
|
|
47 |
|
48 |
@app.route('/')
|
49 |
def index():
|
50 |
+
feed = random.randint(0, len(live_urls) - 1)
|
51 |
#url = feed_dict[feed]['url']
|
52 |
url = live_urls[feed]
|
53 |
ip = ''.join(url.split('//')[-1]).split(':')[0]
|